Skip to content

Commit

Permalink
Merge pull request #31 from tmp170422/patch-2
Browse files Browse the repository at this point in the history
An apparent typo in lm-sasl.c:532
  • Loading branch information
McKael committed May 14, 2017
2 parents fa11e5a + 01fdfa0 commit 812f930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loudmouth/lm-sasl.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ sasl_md5_prepare_response (LmSASL *sasl, GHashTable *challenge)
}

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);
Expand Down

0 comments on commit 812f930

Please sign in to comment.