summaryrefslogtreecommitdiff
path: root/src/login_sql/login.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-13 18:10:08 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-13 18:10:08 +0000
commit1abe8b013e2b12bebe47f401105ecbf2b46d29fa (patch)
treec37d07b18f8aee0d1f5f36ef845cb6f236dd919f /src/login_sql/login.c
parentcc739edf82a32d83bc9fa57e00581dfd1364d195 (diff)
downloadhercules-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/login.c')
-rw-r--r--src/login_sql/login.c1
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;
}