Skip whitespace before SASL MD5 digest. Patch by Senko Rašić.
authorDafydd Harries <daf@rhydd.org>
Wed, 05 Sep 2007 15:06:09 +0100
changeset 270 7247db75f528
parent 269 cbd0149366fd
child 271 52ea4e0b897a
Skip whitespace before SASL MD5 digest. Patch by Senko Rašić.
loudmouth/lm-sasl.c
--- a/loudmouth/lm-sasl.c	Wed Sep 05 15:02:58 2007 +0100
+++ b/loudmouth/lm-sasl.c	Wed Sep 05 15:06:09 2007 +0100
@@ -124,6 +124,8 @@
 					g_free, g_free);
 
 	do { 
+		while (g_ascii_isspace(*c)) c++;
+
 		keystart = c;
 		for (; *c != '\0' && *c != '='; c++);