Mercurial > pidgin
diff src/protocols/oscar/oscar.c @ 8246:e7524f4b4ed2
[gaim-migrate @ 8969]
Change some listening stuff.
Also, the autorecon thing, the signals should get removed
when the hash table is destroyed, so that check should not
be necessary. If the function really is getting called
then I guess this should be re-added or something...
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 12 Feb 2004 20:58:36 +0000 |
parents | 609a62b8e748 |
children | b248c1f4efbd |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Thu Feb 12 19:55:05 2004 +0000 +++ b/src/protocols/oscar/oscar.c Thu Feb 12 20:58:36 2004 +0000 @@ -871,7 +871,7 @@ oft_info->fh.checksum = aim_oft_checksum_file(xfer->local_filename); /* Create a listening socket and an associated libfaim conn */ - if ((listenfd = gaim_network_listen(5190, 5199)) < 0) + if ((listenfd = gaim_network_listen_range(5190, 5199)) < 0) return; xfer->local_port = gaim_network_get_port_from_fd(listenfd); oft_info->port = xfer->local_port; @@ -6149,7 +6149,7 @@ dim->gc = gc; g_snprintf(dim->name, sizeof dim->name, "%s", data->who); - listenfd = gaim_network_listen(5190, 5199); + listenfd = gaim_network_listen_range(5190, 5199); dim->conn = aim_odc_initiate(od->sess, data->who, listenfd, gaim_network_get_port_from_fd(listenfd)); if (dim->conn != NULL) { od->direct_ims = g_slist_append(od->direct_ims, dim);