changeset 20971:bff8c5241e20

When signing on to an oscar account, if we check your screen name and determine that it is invalid, then return after the call to purple_connection_error() instead of continuing and trying to connect to something silly. Thanks to Jim Rodgers at meebo for finding this.
author Mark Doliner <mark@kingant.net>
date Tue, 16 Oct 2007 07:50:25 +0000
parents 84c7f5cdb8f3
children 6b9c49ae774c
files libpurple/protocols/oscar/oscar.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Tue Oct 16 07:45:02 2007 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Tue Oct 16 07:50:25 2007 +0000
@@ -1263,6 +1263,7 @@
 		gc->wants_to_die = TRUE;
 		purple_connection_error(gc, buf);
 		g_free(buf);
+		return;
 	}
 
 	if (aim_snvalid_icq((purple_account_get_username(account)))) {