Mercurial > pidgin.yaz
diff src/protocols/msn/notification.c @ 7188:2ff225547cf4
[gaim-migrate @ 7757]
Though it may not do anything at all, I'm hoping this fixes the empty
dialog bug in MSN when entering an invalid password.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 07 Oct 2003 20:08:06 +0000 |
parents | d14e026611c0 |
children | 13c725566078 |
line wrap: on
line diff
--- a/src/protocols/msn/notification.c Tue Oct 07 18:29:33 2003 +0000 +++ b/src/protocols/msn/notification.c Tue Oct 07 20:08:06 2003 +0000 @@ -425,13 +425,13 @@ if ((error = strstr(buffer, "WWW-Authenticate")) != NULL) { - if ((error = strstr(buffer, "cbtxt=")) != NULL) + if ((error = strstr(error, "cbtxt=")) != NULL) + { error += strlen("cbtxt="); - - error = gaim_url_decode(error); + error = gaim_url_decode(error); + } } - if (error == NULL) { gaim_connection_error(gc, @@ -1877,7 +1877,7 @@ if (strcmp(params[1], "SB") && strcmp(params[1], "NS")) { gaim_connection_error(gc, _("Got invalid XFR")); - + return FALSE; }