# HG changeset patch # User Mikael Berthe # Date 1494756729 -7200 # Node ID 80579726ccb4ee3e7a61383ebec58cc695d4f9cf # Parent 5d41102c28129940bfc757fa5f731f97d9a14122# Parent c5d2f7bc8a18ca3e61fba98a02f5ab8e67f97e05 Merge pull request #31 from tmp170422/patch-2 An apparent typo in lm-sasl.c:532 committer: GitHub diff -r 5d41102c2812 -r 80579726ccb4 loudmouth/lm-sasl.c --- 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);