changeset 28894:46fd79aa46c5

jabber: If it should never happen, we certainly should never keep going in the function!
author Paul Aurich <paul@darkrain42.org>
date Fri, 06 Nov 2009 09:16:01 +0000
parents 96ba7fd24177
children 18b64ff28354
files libpurple/protocols/jabber/auth.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth.c	Fri Nov 06 09:13:28 2009 +0000
+++ b/libpurple/protocols/jabber/auth.c	Fri Nov 06 09:16:01 2009 +0000
@@ -1071,6 +1071,7 @@
 			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 */