From: Christian H. <ch...@us...> - 2003-10-07 20:08:09
|
Update of /cvsroot/gaim/gaim/src/protocols/msn In directory sc8-pr-cvs1:/tmp/cvs-serv30131 Modified Files: notification.c Log Message: Though it may not do anything at all, I'm hoping this fixes the empty dialog bug in MSN when entering an invalid password. Index: notification.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/msn/notification.c,v retrieving revision 1.66 retrieving revision 1.67 diff -u -d -p -r1.66 -r1.67 --- notification.c 5 Oct 2003 18:32:43 -0000 1.66 +++ notification.c 7 Oct 2003 20:08:06 -0000 1.67 @@ -425,13 +425,13 @@ login_connect_cb(gpointer data, GaimSslC 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 @@ xfr_cmd(MsnServConn *servconn, const cha if (strcmp(params[1], "SB") && strcmp(params[1], "NS")) { gaim_connection_error(gc, _("Got invalid XFR")); - + return FALSE; } |