changeset 10960:a7f182589325

[gaim-migrate @ 12763] sf patch #1197934, from Richard Laager Properly initialize the IRC socket file descriptor committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 01 Jun 2005 03:36:32 +0000
parents b6cafdeda2a8
children 42769b481935
files src/protocols/irc/irc.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/irc/irc.c	Wed Jun 01 01:26:08 2005 +0000
+++ b/src/protocols/irc/irc.c	Wed Jun 01 03:36:32 2005 +0000
@@ -243,6 +243,7 @@
 	}
 
 	gc->proto_data = irc = g_new0(struct irc_conn, 1);
+	irc->fd = -1;
 	irc->account = account;
 
 	userparts = g_strsplit(username, "@", 2);