diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-04 06:06:28 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-04 06:06:28 +0000 |
commit | b7a4f899702a4ad28d6726de9326912d950917a6 (patch) | |
tree | 6d1f45486a8735dcbdf9182b33b6dac7112d8335 /src/login_sql/login.c | |
parent | 9e340c8961d0168c12e4eca5af93025357d00f9e (diff) | |
download | hercules-b7a4f899702a4ad28d6726de9326912d950917a6.tar.gz hercules-b7a4f899702a4ad28d6726de9326912d950917a6.tar.bz2 hercules-b7a4f899702a4ad28d6726de9326912d950917a6.tar.xz hercules-b7a4f899702a4ad28d6726de9326912d950917a6.zip |
- 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
Diffstat (limited to 'src/login_sql/login.c')
-rw-r--r-- | src/login_sql/login.c | 14 |
1 files changed, 7 insertions, 7 deletions
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);
}
/*
|