aboutsummaryrefslogtreecommitdiff
path: root/src/auth.c
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2016-01-18 15:24:18 -0500
committerFranklin Wei <git@fwei.tk>2016-01-18 15:24:18 -0500
commit526f472c822fe567b3b50814b1321a8f7a24c945 (patch)
tree9956b92b1a1e0776d25f71e5d1c89adb8d4b586a /src/auth.c
parent344a56010938c28225c3d145d5191c8fb8234288 (diff)
downloadnetcosm-526f472c822fe567b3b50814b1321a8f7a24c945.zip
netcosm-526f472c822fe567b3b50814b1321a8f7a24c945.tar.gz
netcosm-526f472c822fe567b3b50814b1321a8f7a24c945.tar.bz2
netcosm-526f472c822fe567b3b50814b1321a8f7a24c945.tar.xz
remove sig_debugf as it's no longer needed
Diffstat (limited to 'src/auth.c')
-rw-r--r--src/auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auth.c b/src/auth.c
index 4198302..42af3ed 100644
--- a/src/auth.c
+++ b/src/auth.c
@@ -195,7 +195,7 @@ struct userdata_t *auth_check(const char *name2, const char *pass2)
if(data)
{
- sig_debugf("auth module: user %s found\n", name2);
+ debugf("auth module: user %s found\n", name2);
char *new_hash_hex = hash_pass_hex(pass, salt);
/* hashes are in HEX to avoid the Trucha bug */
@@ -212,7 +212,7 @@ struct userdata_t *auth_check(const char *name2, const char *pass2)
}
}
- sig_debugf("auth failure for user %s\n", name2);
+ debugf("auth failure for user %s\n", name2);
memset(pass, 0, strlen(pass));
free(pass);