From 0a54d25ccfd891814cbdada8589b48c6b9da23fd Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 23 Jan 2014 19:12:19 +0100 Subject: Replaced some of the hardcoded values with constants (login) - Replaced several hardcoded values with the appropriate enums. - Added documentation for some hardcoded values that haven't been replaced by enums (yet) - Minor code legibility improvements. Signed-off-by: Haru --- src/login/loginlog_sql.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/login/loginlog_sql.c') diff --git a/src/login/loginlog_sql.c b/src/login/loginlog_sql.c index 8ed6e395a..2c6f76e38 100644 --- a/src/login/loginlog_sql.c +++ b/src/login/loginlog_sql.c @@ -62,6 +62,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) { char esc_username[NAME_LENGTH*2+1]; -- cgit v1.2.3-60-g2f50