diff 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
line wrap: on
line diff
--- a/src/network.c	Mon Jul 05 19:11:09 2004 +0000
+++ b/src/network.c	Mon Jul 05 19:19:36 2004 +0000
@@ -149,7 +149,7 @@
 static int
 gaim_network_do_listen(unsigned short port)
 {
-	int listenfd;
+	int listenfd = -1;
 	const int on = 1;
 #if HAVE_GETADDRINFO
 	int errnum;