From b7a4f899702a4ad28d6726de9326912d950917a6 Mon Sep 17 00:00:00 2001 From: skotlex Date: Sat, 4 Mar 2006 06:06:28 +0000 Subject: - Fixed a bug on the last fix :P - Removed some of those annoying login-SQL on-log messages that are totally useless. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5459 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/login_sql/login.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/login_sql/login.c') diff --git a/src/login_sql/login.c b/src/login_sql/login.c index b9b79940f..bf4acb534 100644 --- a/src/login_sql/login.c +++ b/src/login_sql/login.c @@ -570,7 +570,7 @@ int mmo_auth( struct mmo_account* account , int fd){ sprintf(ip, "%d.%d.%d.%d", sin_addr[0], sin_addr[1], sin_addr[2], sin_addr[3]); - ShowInfo("auth start for %s...\n", ip); + //ShowInfo("auth start for %s...\n", ip); //accountreg with _M/_F .. [Sirius] len = strlen(account->userid) -2; @@ -664,11 +664,11 @@ int mmo_auth( struct mmo_account* account , int fd){ } else { jstrescapecpy(user_password, account->passwd); } - ShowInfo("account id ok encval:%d\n",account->passwdenc); + //ShowInfo("account id ok encval:%d\n",account->passwdenc); #ifdef PASSWORDENC if (account->passwdenc > 0) { int j = account->passwdenc; - ShowInfo("start md5calc..\n"); + //ShowInfo("start md5calc..\n"); if (j > 2) j = 1; do { @@ -678,13 +678,13 @@ int mmo_auth( struct mmo_account* account , int fd){ sprintf(md5str, "%s%s", sql_row[2], md5key); } else md5str[0] = 0; - ShowDebug("j:%d mdstr:%s\n", j, md5str); + //ShowDebug("j:%d mdstr:%s\n", j, md5str); MD5_String2binary(md5str, md5bin); encpasswdok = (memcmp(user_password, md5bin, 16) == 0); } while (j < 2 && !encpasswdok && (j++) != account->passwdenc); //printf("key[%s] md5 [%s] ", md5key, md5); - ShowInfo("client [%s] accountpass [%s]\n", user_password, sql_row[2]); - ShowInfo("end md5calc..\n"); + //ShowInfo("client [%s] accountpass [%s]\n", user_password, sql_row[2]); + //ShowInfo("end md5calc..\n"); } #endif if ((strcmp(user_password, sql_row[2]) && !encpasswdok)) { @@ -709,7 +709,7 @@ int mmo_auth( struct mmo_account* account , int fd){ } return 1; } - ShowInfo("auth ok %s %s" RETCODE, tmpstr, account->userid); + //ShowInfo("auth ok %s %s" RETCODE, tmpstr, account->userid); } /* -- cgit v1.2.3-70-g09d2