libpurple/protocols/simple/simple.c

branch
vv
changeset 26186
18143bdefcd4
parent 26178
2081d31d5466
parent 25201
99fcf96872a9
child 26188
ac847a36c4a9
equal deleted inserted replaced
26185:6061487f59a7 26186:18143bdefcd4
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]);

mercurial