comparison libpurple/protocols/simple/simple.c @ 24772:49f0e5dbeeed

Fix my accidental breakage of string freeze by borrowing a generic message from the Novell Groupwise prpl. Refs #7767.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Tue, 16 Dec 2008 06:12:58 +0000
parents 08414e3d8b4f
children d378f05079e4 f0c2e27c7ae7 138c729f8c9a
comparison
equal deleted inserted replaced
24770:512c7c31eb21 24772:49f0e5dbeeed
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 _("SIP connect server not specified")); 1945 _("Unable to connect to server. Please enter the "
1946 "address of the server you wish to connect to."));
1946 return; 1947 return;
1947 } 1948 }
1948 1949
1949 purple_connection_set_display_name(gc, userserver[0]); 1950 purple_connection_set_display_name(gc, userserver[0]);
1950 sip->username = g_strdup(userserver[0]); 1951 sip->username = g_strdup(userserver[0]);