Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jabber.c @ 20128:57e9d1ecefff
Rename PURPLE_REASON_INVALID_USERNAME to PURPLE_REASON_INVALID_SETTINGS, so it
can be used when a server parameter is required but not supplied (for example).
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Tue, 02 Oct 2007 17:16:16 +0000 |
parents | f24a2cacacd1 |
children | f3cfcbbac3d8 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Tue Oct 02 15:57:32 2007 +0000 +++ b/libpurple/protocols/jabber/jabber.c Tue Oct 02 17:16:16 2007 +0000 @@ -588,13 +588,13 @@ js->old_length = -1; if(!js->user) { - purple_connection_error_reason (gc, PURPLE_REASON_INVALID_USERNAME, + purple_connection_error_reason (gc, PURPLE_REASON_INVALID_SETTINGS, _("Invalid XMPP ID")); return; } if (!js->user->domain || *(js->user->domain) == '\0') { - purple_connection_error_reason (gc, PURPLE_REASON_INVALID_USERNAME, + purple_connection_error_reason (gc, PURPLE_REASON_INVALID_SETTINGS, _("Invalid XMPP ID. Domain must be set.")); return; } @@ -1079,7 +1079,7 @@ js->old_length = -1; if(!js->user) { - purple_connection_error_reason (gc, PURPLE_REASON_INVALID_USERNAME, + purple_connection_error_reason (gc, PURPLE_REASON_INVALID_SETTINGS, _("Invalid XMPP ID")); return; }