Mercurial > pidgin.yaz
changeset 24982:5529879da454
Two patches from Yann Kerherve submitted to pidgin-devl. This fixes XMPP
authentication challenges which end with a quoted value or a trailing newline.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Wed, 21 Jan 2009 23:08:16 +0000 |
parents | 7f9b8351a6b4 |
children | cddd8022591d |
files | libpurple/protocols/jabber/auth.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth.c Tue Jan 20 19:38:53 2009 +0000 +++ b/libpurple/protocols/jabber/auth.c Wed Jan 21 23:08:16 2009 +0000 @@ -749,8 +749,8 @@ val_end = cur; while (val_end != val_start && (*val_end == ' ' || *val_end == ',' || *val_end == '\t' - || *val_end == '\r' || *val_start == '\n' - || *val_end == '"')) + || *val_end == '\r' || *val_end == '\n' + || *val_end == '"' || *val_end == '\0')) val_end--; if (val_start != val_end)