libpurple/protocols/mxit/login.c

branch
release-2.x.y
changeset 33787
eb88fd4cbced
parent 31706
a86fb9e2b8d4
child 33796
4854740e5277
child 33815
094a4b10e8d5
--- a/libpurple/protocols/mxit/login.c	Sun Feb 24 21:23:29 2013 -0500
+++ b/libpurple/protocols/mxit/login.c	Sun Feb 24 22:21:31 2013 -0500
@@ -743,7 +743,7 @@
 	 * if we don't have any info saved from a previous login, we need to get it from the MXit WAP site.
 	 * we do cache it, so this step is only done on the very first login for each account.
 	 */
-	if ( ( session->distcode == NULL ) || ( strlen( session->distcode ) == 0 ) ) {
+	if ( strlen( session->distcode ) == 0 ) {
 		/* this must be the very first login, so we need to retrieve the user information */
 		get_clientinfo( session );
 	}

mercurial