libpurple/protocols/sametime/sametime.c

changeset 27343
8a367ee70456
parent 26752
27fe5aa7cbd0
child 27361
62f1aa8045bb
equal deleted inserted replaced
27342:7ae07a1d4bf4 27343:8a367ee70456
1464 current_host = purple_account_get_string(account, MW_KEY_HOST, 1464 current_host = purple_account_get_string(account, MW_KEY_HOST,
1465 MW_PLUGIN_DEFAULT_HOST); 1465 MW_PLUGIN_DEFAULT_HOST);
1466 1466
1467 if(purple_account_get_bool(account, MW_KEY_FORCE, FALSE) || 1467 if(purple_account_get_bool(account, MW_KEY_FORCE, FALSE) ||
1468 !host || (! strcmp(current_host, host)) || 1468 !host || (! strcmp(current_host, host)) ||
1469 (purple_proxy_connect(NULL, account, host, port, connect_cb, pd) == NULL)) { 1469 (purple_proxy_connect(gc, account, host, port, connect_cb, pd) == NULL)) {
1470 1470
1471 /* if we're configured to force logins, or if we're being 1471 /* if we're configured to force logins, or if we're being
1472 redirected to the already configured host, or if we couldn't 1472 redirected to the already configured host, or if we couldn't
1473 connect to the new host, we'll force the login instead */ 1473 connect to the new host, we'll force the login instead */
1474 1474

mercurial