Mercurial > pidgin
view src/protocols/zephyr/ZSetFD.c @ 13343:3e87f0c5287d
[gaim-migrate @ 15713]
SF Patch #1439873 from Sadrul
"Open a conversation with someone in yahoo. Now with the
conversation tab open, disconnect/reconnect or
disable/enable the account a few times. Gaim may crash.
This is because yahoo doesn't set the proto_data of the
connection to NULL after it _close()es the connection.
All other prpls (i looked in msn, oscar, jabber,
sametime) set it to NULL after freeing the data."
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Tue, 28 Feb 2006 01:30:01 +0000 |
| parents | 64895571248f |
| children |
line wrap: on
line source
/* This file is part of the Project Athena Zephyr Notification System. * It contains source for the ZSetFD function. * * Created by: Robert French * * Copyright (c) 1987 by the Massachusetts Institute of Technology. * For copying and distribution information, see the file * "mit-copyright.h". */ #include "internal.h" Code_t ZSetFD(fd) int fd; { (void) ZClosePort(); __Zephyr_fd = fd; __Zephyr_open = 0; return (ZERR_NONE); }
