pidgin: 724b6ea1: jabber: If it should never happen, we ce...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Fri Nov 6 05:00:57 EST 2009


-----------------------------------------------------------------
Revision: 724b6ea186d01194e2bcacb18d6b0cce228241ad
Ancestor: 96dcdf2b8e12fa30ea7dd2ff9d0569ad3aad73c9
Author: darkrain42 at pidgin.im
Date: 2009-11-06T09:16:01
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/724b6ea186d01194e2bcacb18d6b0cce228241ad

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

ChangeLog: 

jabber: If it should never happen, we certainly should never keep going in the function!

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/auth.c	b078b18e8f791e6b04206a4558b192b9c83f5873
+++ libpurple/protocols/jabber/auth.c	17cf45d90061543e3aa9c45d705c62e23aee6cf1
@@ -1071,6 +1071,7 @@ void jabber_auth_handle_success(JabberSt
 			purple_connection_error_reason(js->gc,
 				PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
 				_("Invalid response from server"));
+			g_return_val_if_reached();
 		}
 	}
 	/* If we've negotiated a security layer, we need to enable it */


More information about the Commits mailing list