From: <the...@us...> - 2006-08-14 08:24:31
|
Revision: 16753 Author: thekingant Date: 2006-08-14 01:24:30 -0700 (Mon, 14 Aug 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16753&view=rev Log Message: ----------- Whatever, toc doesn't compile anyway. Any objections to remove it? Modified Paths: -------------- trunk/src/protocols/toc/toc.c Modified: trunk/src/protocols/toc/toc.c =================================================================== --- trunk/src/protocols/toc/toc.c 2006-08-14 08:23:26 UTC (rev 16752) +++ trunk/src/protocols/toc/toc.c 2006-08-14 08:24:30 UTC (rev 16753) @@ -160,8 +160,9 @@ struct sockaddr_in name; socklen_t namelen; - if (!g_list_find(gaim_connections_get_all(), data)) { - close(source); + if (!GAIM_CONNECTION_IS_VALID(gc)) { + if (source >= 0) + close(source); return; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |