Mercurial > pidgin
diff libgaim/protocols/silc/silc.c @ 14262:baff095b146c
[gaim-migrate @ 16944]
Rename GaimProxyConnectInfo to GaimProxyConnectData, and change the
variables from connect_info to connect_data. Sorry, but I wanted
to get this right before it becomes permanent.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Mon, 21 Aug 2006 05:25:44 +0000 |
| parents | 60b1bc8dbf37 |
| children | 8ed6ef220b2d |
line wrap: on
line diff
--- a/libgaim/protocols/silc/silc.c Mon Aug 21 05:07:42 2006 +0000 +++ b/libgaim/protocols/silc/silc.c Mon Aug 21 05:25:44 2006 +0000 @@ -154,7 +154,7 @@ g_return_if_fail(gc != NULL); sg = gc->proto_data; - sg->connect_info = NULL; + sg->connect_data = NULL; if (source < 0) { gaim_connection_error(gc, _("Connection failed")); @@ -357,12 +357,12 @@ gc->proto_data = sg; /* Connect to the SILC server */ - sg->connect_info = gaim_proxy_connect(account, + sg->connect_data = gaim_proxy_connect(account, gaim_account_get_string(account, "server", "silc.silcnet.org"), gaim_account_get_int(account, "port", 706), silcgaim_login_connected, gc); - if (sg->connect_info == NULL) + if (sg->connect_data == NULL) { gaim_connection_error(gc, _("Unable to create connection")); return; @@ -382,8 +382,8 @@ SilcGaim sg = (SilcGaim)context; silc_client_stop(sg->client); silc_client_free(sg->client); - if (sg->connect_info != NULL) - gaim_proxy_connect_cancel(sg->connect_info); + if (sg->connect_data != NULL) + gaim_proxy_connect_cancel(sg->connect_data); #ifdef HAVE_SILCMIME_H if (sg->mimeass) silc_mime_assembler_free(sg->mimeass);
