author | Mikael Berthe <mikael@lilotux.net> |
Sun, 14 May 2017 12:12:09 +0200 | |
changeset 722 | 80579726ccb4 |
parent 720 | 5d41102c2812 (current diff) |
parent 721 | c5d2f7bc8a18 (diff) |
child 723 | c4953bf0a53d |
child 724 | 3cd39dfd5ff7 |
--- a/loudmouth/lm-sasl.c Mon May 08 10:49:15 2017 +0200 +++ b/loudmouth/lm-sasl.c Sun May 14 12:12:09 2017 +0200 @@ -529,7 +529,7 @@ } nonce = g_hash_table_lookup (challenge, "nonce"); - if (nonce == NULL || nonce == '\0') { + if (nonce == NULL || nonce[0] == '\0') { g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_SASL, "%s: server didn't provide a nonce in the challenge", G_STRFUNC);