Forráskód Böngészése

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1035 54d463be-8e91-2dee-dedb-b68131a5f0ec

(no author) 20 éve
szülő
commit
d3b9e3e5b4
2 módosított fájl, 2 hozzáadás és 0 törlés
  1. 1 0
      src/login/login.c
  2. 1 0
      src/login_sql/login.c

+ 1 - 0
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);

+ 1 - 0
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");