comparison src/protocols/toc/toc.c @ 14119:54147aa1ffe6

[gaim-migrate @ 16753] Whatever, toc doesn't compile anyway. Any objections to remove it? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 14 Aug 2006 08:24:30 +0000
parents 2f7b356812bc
children
comparison
equal deleted inserted replaced
14118:87ff682bdf5f 14119:54147aa1ffe6
158 struct toc_data *tdt; 158 struct toc_data *tdt;
159 char buf[80]; 159 char buf[80];
160 struct sockaddr_in name; 160 struct sockaddr_in name;
161 socklen_t namelen; 161 socklen_t namelen;
162 162
163 if (!g_list_find(gaim_connections_get_all(), data)) { 163 if (!GAIM_CONNECTION_IS_VALID(gc)) {
164 close(source); 164 if (source >= 0)
165 close(source);
165 return; 166 return;
166 } 167 }
167 168
168 tdt = gc->proto_data; 169 tdt = gc->proto_data;
169 170