comparison libgaim/protocols/simple/simple.c @ 14920:478e64cf96fe

[gaim-migrate @ 17692] Change a couple of protocols to use the more common "Incorrect password." string. The Novell prpl has an "Invalid password" string, which probably means the same thing, but I'm not 100% sure. Ideally, we'd get that changed, too. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 07 Nov 2006 05:52:41 +0000
parents 118fd0dc5b6e
children 89ae31668a9c
comparison
equal deleted inserted replaced
14919:056c8a27668c 14920:478e64cf96fe
1030 case 401: 1030 case 401:
1031 if(sip->registerstatus != 2) { 1031 if(sip->registerstatus != 2) {
1032 gaim_debug_info("simple", "REGISTER retries %d\n", sip->registrar.retries); 1032 gaim_debug_info("simple", "REGISTER retries %d\n", sip->registrar.retries);
1033 if(sip->registrar.retries > 3) { 1033 if(sip->registrar.retries > 3) {
1034 sip->gc->wants_to_die = TRUE; 1034 sip->gc->wants_to_die = TRUE;
1035 gaim_connection_error(sip->gc, _("Wrong Password")); 1035 gaim_connection_error(sip->gc, _("Incorrect password."));
1036 return TRUE; 1036 return TRUE;
1037 } 1037 }
1038 tmp = sipmsg_find_header(msg, "WWW-Authenticate"); 1038 tmp = sipmsg_find_header(msg, "WWW-Authenticate");
1039 fill_auth(sip, tmp, &sip->registrar); 1039 fill_auth(sip, tmp, &sip->registrar);
1040 sip->registerstatus = 2; 1040 sip->registerstatus = 2;