# HG changeset patch # User Christian Hammond # Date 1065557286 0 # Node ID 2ff225547cf497ba68a46409893cd22d9cba08f7 # Parent 0f16c37aa472694521e00751418a29ed21545b38 [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 diff -r 0f16c37aa472 -r 2ff225547cf4 src/protocols/msn/notification.c --- 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; }