Mercurial > pidgin
diff libpurple/protocols/jabber/jabber.c @ 15728:da4813f14457
Simon Wilkinson noticed that this check was invalid and caused authentications to hang.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 26 Feb 2007 04:21:41 +0000 |
parents | 193456f03b9c |
children | 51dd9ae01585 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Mon Feb 26 03:19:35 2007 +0000 +++ b/libpurple/protocols/jabber/jabber.c Mon Feb 26 04:21:41 2007 +0000 @@ -283,7 +283,7 @@ sasl_encode(js->sasl, &data[pos], towrite, &out, &olen); pos += towrite; - if (js->writeh > 0) + if (js->writeh == 0) ret = jabber_do_send(js, out, olen); else { ret = -1;