Mercurial > pidgin.yaz
changeset 12918:a05fbd9dcc31
[gaim-migrate @ 15271]
nosnilmot noticed that I was passing the wrong variable to gaim_network_listen_range(). This reminded me to add a comment that I mean to earlier.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 17 Jan 2006 19:28:45 +0000 |
parents | a85c8c11bfab |
children | 248b8b39c671 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Tue Jan 17 18:36:29 2006 +0000 +++ b/src/protocols/oscar/oscar.c Tue Jan 17 19:28:45 2006 +0000 @@ -1571,6 +1571,8 @@ dim = oscar_direct_im_find(od, who); if (dim) { + /* TODO: we need to somehow not do this if we're waiting + for the gaim_network_listen_range() call to finish */ if (!(dim->connected)) { /* We'll free the old, unconnected dim, and start over */ oscar_direct_im_disconnect(od, dim); gaim_debug_info("oscar", @@ -1588,7 +1590,8 @@ dim_l->dim = dim; dim_l->cookie = cookie; - if(!gaim_network_listen_range(5190, 5199, SOCK_STREAM, oscar_direct_im_listen_cb, dim)) { + if(!gaim_network_listen_range(5190, 5199, SOCK_STREAM, + oscar_direct_im_listen_cb, dim_l)) { gaim_notify_error(gc, NULL, _("Unable to open Direct IM"), NULL); oscar_direct_im_destroy(od, dim); g_free(dim_l);