author | tmp170422 <tmp131110@ya.ru> |
Sun, 14 May 2017 12:18:32 +0300 | |
changeset 721 | c5d2f7bc8a18 |
parent 720 | 5d41102c2812 |
child 722 | 80579726ccb4 |
--- a/loudmouth/lm-sasl.c Mon May 08 10:49:15 2017 +0200 +++ b/loudmouth/lm-sasl.c Sun May 14 12:18:32 2017 +0300 @@ -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);