Mercurial > pidgin
changeset 1668:91cddbcfdd17
[gaim-migrate @ 1678]
well, at least this should point out what the problem is. right?
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 30 Mar 2001 22:32:44 +0000 |
parents | b5635d882116 |
children | a843efee692a |
files | plugins/jabber/jabber.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)