diff options
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c index 71766f88..9e9cb594 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -2010,7 +2010,7 @@ challengeauth_response (char *username, char *password, char *challenge) GString *buf = g_string_new_len (NULL, SHA256_DIGEST_LENGTH * 2); user = g_strdup (username); - *user = rfc_tolower (*username); /* convert username to lowercase as per the RFC*/ + *user = rfc_tolower (*username); /* convert username to lowercase as per the RFC */ pass = g_strndup (password, 10); /* truncate to 10 characters */ passhash = str_sha256hash (pass); |