comparison src/network.c @ 9452:0de62d92fb3b

[gaim-migrate @ 10276] Thanks Tim. I'd like to point out that I don't think it's possible for listenfd to actually be used uninitialized. gcc just isn't smart enough to realize that. I think. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 05 Jul 2004 19:19:36 +0000
parents ad93d76666dd
children 5b4b3fb286b0
comparison
equal deleted inserted replaced
9451:7b56b8ba3dff 9452:0de62d92fb3b
147 } 147 }
148 148
149 static int 149 static int
150 gaim_network_do_listen(unsigned short port) 150 gaim_network_do_listen(unsigned short port)
151 { 151 {
152 int listenfd; 152 int listenfd = -1;
153 const int on = 1; 153 const int on = 1;
154 #if HAVE_GETADDRINFO 154 #if HAVE_GETADDRINFO
155 int errnum; 155 int errnum;
156 struct addrinfo hints, *res, *next; 156 struct addrinfo hints, *res, *next;
157 char serv[5]; 157 char serv[5];