Mercurial > pidgin
changeset 12689:e893563d965d
[gaim-migrate @ 15032]
Fix another crash because a callback was happening after the account was disconnected. I wonder whether the sip->listenfd should be also closed.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 03 Jan 2006 04:44:08 +0000 |
parents | 473c23442a36 |
children | d03afaccd41c |
files | src/protocols/simple/simple.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/simple/simple.c Tue Jan 03 01:25:06 2006 +0000 +++ b/src/protocols/simple/simple.c Tue Jan 03 04:44:08 2006 +0000 @@ -1257,7 +1257,7 @@ sip->listenport = ntohs(addr.sin_port); sip->listenfd = sip->fd; - gaim_input_add(sip->fd, GAIM_INPUT_READ, simple_udp_process, sip->gc); + sip->listenpa = gaim_input_add(sip->fd, GAIM_INPUT_READ, simple_udp_process, sip->gc); sip->serveraddr.sin_family = AF_INET; sip->serveraddr.sin_port = htons(port);