pidgin: 3ee9396a: jabber: I don't see how this is possible...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Sat May 1 17:45:41 EDT 2010


-----------------------------------------------------------------
Revision: 3ee9396a56a320a1cf58e22b2284a6cbf8734f5f
Ancestor: 945ef5abc5bde7ed1e8e8417cee90550cfe1c0b0
Author: darkrain42 at pidgin.im
Date: 2010-05-01T17:21:21
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3ee9396a56a320a1cf58e22b2284a6cbf8734f5f

Modified files:
        libpurple/protocols/jabber/jabber.c

ChangeLog: 

jabber: I don't see how this is possible, and it looks like an error to me.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jabber.c	896c8cfd3cc7a6db6cd14f1cc58df4300f192133
+++ libpurple/protocols/jabber/jabber.c	ccb956efafb8ee392da5aba8545755879af7a655
@@ -460,7 +460,7 @@ void jabber_send_raw(JabberStream *js, c
 		int pos = 0;
 
 		if (!js->gsc && js->fd<0)
-			return;
+			g_return_if_reached();
 
 		if (len == -1)
 			len = strlen(data);


More information about the Commits mailing list