diff options
-rw-r--r-- | src/login/login.c | 1 | ||||
-rw-r--r-- | src/login_sql/login.c | 1 |
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"); |