summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-05 02:09:46 +0000
committer(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-05 02:09:46 +0000
commitf97da8261071ea426c73e61097b8c9302910a553 (patch)
treeb53b981e227fcb87dbb3a580cc3e89c4de24dcab /src
parent69dfdb765b534d3825e431975c567420e2787894 (diff)
downloadhercules-f97da8261071ea426c73e61097b8c9302910a553.tar.gz
hercules-f97da8261071ea426c73e61097b8c9302910a553.tar.bz2
hercules-f97da8261071ea426c73e61097b8c9302910a553.tar.xz
hercules-f97da8261071ea426c73e61097b8c9302910a553.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1035 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/login/login.c1
-rw-r--r--src/login_sql/login.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/login/login.c b/src/login/login.c
index 672e56b72..a61210921 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -3364,6 +3364,7 @@ int login_lan_config_read(const char *lancfgName) {
int login_config_read(const char *cfgName) {
char line[1024], w1[1024], w2[1024];
FILE *fp;
+ struct hostent *h = NULL;
if ((fp = fopen(cfgName, "r")) == NULL) {
printf("Configuration file (%s) not found.\n", cfgName);
diff --git a/src/login_sql/login.c b/src/login_sql/login.c
index 98b7a72a8..c075c37c5 100644
--- a/src/login_sql/login.c
+++ b/src/login_sql/login.c
@@ -1577,6 +1577,7 @@ int login_config_read(const char *cfgName){
int i;
char line[1024], w1[1024], w2[1024];
FILE *fp;
+ struct hostent *h = NULL;
fp=fopen(cfgName,"r");