git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1035 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
09e5465bf0
commit
d3b9e3e5b4
@ -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);
|
||||
|
@ -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");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user