changeset 14072:cf48a70da762

[gaim-migrate @ 16693] Fix CID 111 (which never would actually happen, but this is cleaner and clearer) committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 11 Aug 2006 00:55:18 +0000
parents 1e084a6e7446
children 6732a269f96f
files src/protocols/msn/nexus.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/nexus.c	Fri Aug 11 00:21:26 2006 +0000
+++ b/src/protocols/msn/nexus.c	Fri Aug 11 00:55:18 2006 +0000
@@ -422,8 +422,8 @@
 
 	if ((da_login = strstr(base, "DALogin=")) != NULL)
 	{
-		if ((da_login = strchr(da_login, '=')) != NULL)
-			da_login++;
+		/* skip over "DALogin=" */
+		da_login += 8;
 
 		if ((c = strchr(da_login, ',')) != NULL)
 			*c = '\0';