diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-13 18:10:08 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-13 18:10:08 +0000 |
commit | 1abe8b013e2b12bebe47f401105ecbf2b46d29fa (patch) | |
tree | c37d07b18f8aee0d1f5f36ef845cb6f236dd919f /src/login_sql | |
parent | cc739edf82a32d83bc9fa57e00581dfd1364d195 (diff) | |
download | hercules-1abe8b013e2b12bebe47f401105ecbf2b46d29fa.tar.gz hercules-1abe8b013e2b12bebe47f401105ecbf2b46d29fa.tar.bz2 hercules-1abe8b013e2b12bebe47f401105ecbf2b46d29fa.tar.xz hercules-1abe8b013e2b12bebe47f401105ecbf2b46d29fa.zip |
- Added an Info message when pinging the SQL servers.
- Changed line terminators back to *nix on map.c because otherwise it's impossible to run a diff between the stable and trunk versions of the file.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6043 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login_sql')
-rw-r--r-- | src/login_sql/login.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c index 1ed41ca27..d5819434d 100644 --- a/src/login_sql/login.c +++ b/src/login_sql/login.c @@ -359,6 +359,7 @@ int e_mail_check(char *email) { */
int login_sql_ping(int tid, unsigned int tick, int id, int data)
{
+ ShowInfo("Pinging SQL server to keep connection alive...\n");
mysql_ping(&mysql_handle);
return 0;
}
|