diff options
author | Arnavion <arnavion@gmail.com> | 2014-12-08 21:25:00 -0800 |
---|---|---|
committer | Arnavion <arnavion@gmail.com> | 2014-12-08 21:25:00 -0800 |
commit | 65c8494698f65525e26fc6f6a4a00bcbbf10fa58 (patch) | |
tree | 6cc758098a1761f02fde8071bd79fc581401c29c /src/common | |
parent | 2b94011fdc033cf266a9f1d4084b9c35016502bb (diff) |
Removed some unnecessary casts.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/util.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/util.c b/src/common/util.c index c35c098c..210951be 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -1791,9 +1791,7 @@ challengeauth_response (char *username, char *password, char *challenge) g_string_append_printf (buf, "%02x", (unsigned int) digest[i]); } - digest = (unsigned char *) g_string_free (buf, FALSE); - - return (char *) digest; + return g_string_free (buf, FALSE); } #endif |