[gaim-migrate @ 1678]

Fri, 30 Mar 2001 22:32:44 +0000

author
Eric Warmenhoven <warmenhoven@yahoo.com>
date
Fri, 30 Mar 2001 22:32:44 +0000
changeset 1668
2a8fdf2f5bb1
parent 1667
5148c65efd73
child 1669
ae9a2404ac11

[gaim-migrate @ 1678]
well, at least this should point out what the problem is. right?

plugins/jabber/jabber.c file | annotate | diff | comparison | revisions
--- a/plugins/jabber/jabber.c	Fri Mar 30 22:12:56 2001 +0000
+++ b/plugins/jabber/jabber.c	Fri Mar 30 22:32:44 2001 +0000
@@ -212,6 +212,7 @@
 	close(j->fd);
 	j->fd = -1;
 	XML_ParserFree(j->parser);
+	j->parser = NULL;
 }
 
 static int gjab_getfd(gjconn j)
@@ -326,7 +327,7 @@
 
 	if ((len = read(j->fd, buf, sizeof(buf) - 1))) {
 		buf[len] = '\0';
-		debug_printf("input: %s\n", buf);
+		debug_printf("input (len %d): %s\n", len, buf);
 		XML_Parse(j->parser, buf, len, 0);
 	} else if (len <= 0) {
 		STATE_EVT(JCONN_STATE_OFF)

mercurial