changeset 30273:2829dd1cc118

jabber: I don't see how this is possible, and it looks like an error to me.
author Paul Aurich <paul@darkrain42.org>
date Sat, 01 May 2010 17:21:21 +0000
parents a54e59c1c520
children a97ddee04b78
files libpurple/protocols/jabber/jabber.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c	Sat May 01 16:37:07 2010 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Sat May 01 17:21:21 2010 +0000
@@ -460,7 +460,7 @@
 		int pos = 0;
 
 		if (!js->gsc && js->fd<0)
-			return;
+			g_return_if_reached();
 
 		if (len == -1)
 			len = strlen(data);