changeset 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 7b56b8ba3dff
children 28280c108cc4
files src/network.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;