diff options
author | Berke Viktor <bviktor@hexchat.org> | 2013-05-19 11:49:27 +0300 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2013-05-19 11:49:27 +0300 |
commit | c0cc6a2c9392bcc6e114a98f2deb6129a8564a4d (patch) | |
tree | aad46313456384c7870367ecdd4c3b62063ad797 /src/common/util.c | |
parent | b2fec642fec7a4cf7f0aca2f7bb0d964656dff3e (diff) |
Cosmetics
Diffstat (limited to 'src/common/util.c')
-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); |