comparison src/network.c @ 13425:95cc25e78ef6

[gaim-migrate @ 15800] #ifdef HAVE_GETADDRINFO instead of #if HAVE_GETADDRINFO to avoid warnings committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 07 Mar 2006 04:26:44 +0000
parents d7b6e358493d
children 873845ed5b32
comparison
equal deleted inserted replaced
13424:d52b9874c0de 13425:95cc25e78ef6
204 gaim_network_do_listen(unsigned short port, int socket_type, GaimNetworkListenCallback cb, gpointer cb_data) 204 gaim_network_do_listen(unsigned short port, int socket_type, GaimNetworkListenCallback cb, gpointer cb_data)
205 { 205 {
206 int listenfd = -1; 206 int listenfd = -1;
207 const int on = 1; 207 const int on = 1;
208 ListenUPnPData *ld; 208 ListenUPnPData *ld;
209 #if HAVE_GETADDRINFO 209 #ifdef HAVE_GETADDRINFO
210 int errnum; 210 int errnum;
211 struct addrinfo hints, *res, *next; 211 struct addrinfo hints, *res, *next;
212 char serv[6]; 212 char serv[6];
213 213
214 /* 214 /*