comparison libpurple/protocols/simple/simple.c @ 24737:d378f05079e4

disapproval of revision 'a85f2ca138b4fd9f600b0875bfe67837cc95b989' Since we're not in string freeze, revert to a better string here.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sat, 03 Jan 2009 20:43:44 +0000
parents 49f0e5dbeeed
children ede59a571c0a 68265bcc8814 f7a2045f9346
comparison
equal deleted inserted replaced
24736:49f0e5dbeeed 24737:d378f05079e4
1940 1940
1941 userserver = g_strsplit(username, "@", 2); 1941 userserver = g_strsplit(username, "@", 2);
1942 if (userserver[1] == NULL || userserver[1][0] == '\0') { 1942 if (userserver[1] == NULL || userserver[1][0] == '\0') {
1943 purple_connection_error_reason(gc, 1943 purple_connection_error_reason(gc,
1944 PURPLE_CONNECTION_ERROR_INVALID_SETTINGS, 1944 PURPLE_CONNECTION_ERROR_INVALID_SETTINGS,
1945 _("Unable to connect to server. Please enter the " 1945 _("SIP connect server not specified"));
1946 "address of the server you wish to connect to."));
1947 return; 1946 return;
1948 } 1947 }
1949 1948
1950 purple_connection_set_display_name(gc, userserver[0]); 1949 purple_connection_set_display_name(gc, userserver[0]);
1951 sip->username = g_strdup(userserver[0]); 1950 sip->username = g_strdup(userserver[0]);