浏览代码

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

(no author) 20 年之前
父节点
当前提交
d3b9e3e5b4
共有 2 个文件被更改,包括 2 次插入0 次删除
  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");