loudmouth/lm-sasl.c
changeset 721 c5d2f7bc8a18
parent 690 7ccf2113ec5f
equal deleted inserted replaced
720:5d41102c2812 721:c5d2f7bc8a18
   527         }
   527         }
   528         goto error;
   528         goto error;
   529     }
   529     }
   530 
   530 
   531     nonce = g_hash_table_lookup (challenge, "nonce");
   531     nonce = g_hash_table_lookup (challenge, "nonce");
   532     if (nonce == NULL || nonce == '\0') {
   532     if (nonce == NULL || nonce[0] == '\0') {
   533         g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_SASL,
   533         g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_SASL,
   534                "%s: server didn't provide a nonce in the challenge",
   534                "%s: server didn't provide a nonce in the challenge",
   535                G_STRFUNC);
   535                G_STRFUNC);
   536         if (sasl->handler) {
   536         if (sasl->handler) {
   537             sasl->handler (sasl, sasl->connection,
   537             sasl->handler (sasl, sasl->connection,