summaryrefslogtreecommitdiff
path: root/src/login/loginlog.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-01-17 01:39:37 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-09 18:34:44 +0300
commit55152d7e642eac14f8ca848a593a17bbf1b57334 (patch)
tree5c837f639e384c621c2ffdbf5df2f1c9a8e914d0 /src/login/loginlog.c
parent917b208edb37bcde0ad9085311bef54fc436b54f (diff)
downloadhercules-55152d7e642eac14f8ca848a593a17bbf1b57334.tar.gz
hercules-55152d7e642eac14f8ca848a593a17bbf1b57334.tar.bz2
hercules-55152d7e642eac14f8ca848a593a17bbf1b57334.tar.xz
hercules-55152d7e642eac14f8ca848a593a17bbf1b57334.zip
Add loginlog_ prefix to all functions in loginlog.c
Diffstat (limited to 'src/login/loginlog.c')
-rw-r--r--src/login/loginlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/loginlog.c b/src/login/loginlog.c
index 7dff14990..90dc3fde8 100644
--- a/src/login/loginlog.c
+++ b/src/login/loginlog.c
@@ -73,7 +73,7 @@ unsigned long loginlog_failedattempts(uint32 ip, unsigned int minutes)
* Records an event in the login log
*---------------------------------------------*/
// TODO: add an enum of rcode values
-void login_log(uint32 ip, const char* username, int rcode, const char* message)
+void loginlog_log(uint32 ip, const char* username, int rcode, const char* message)
{
char esc_username[NAME_LENGTH*2+1];
char esc_message[255*2+1];