.
This commit is contained in:
@@ -1415,14 +1415,14 @@ void hush_configfile(char *symbol,uint16_t rpcport)
|
|||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
while ( fname[strlen(fname)-1] != '\\' )
|
while ( fname[strlen(fname)-1] != '\\' )
|
||||||
fname[strlen(fname)-1] = 0;
|
fname[strlen(fname)-1] = 0;
|
||||||
strcat(fname,"komodo.conf");
|
strcat(fname,"HUSH3.conf");
|
||||||
#else
|
#else
|
||||||
while ( fname[strlen(fname)-1] != '/' )
|
while ( fname[strlen(fname)-1] != '/' )
|
||||||
fname[strlen(fname)-1] = 0;
|
fname[strlen(fname)-1] = 0;
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
strcat(fname,"Komodo.conf");
|
strcat(fname,"HUSH3.conf");
|
||||||
#else
|
#else
|
||||||
strcat(fname,"komodo.conf");
|
strcat(fname,"HUSH3.conf");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
if ( (fp= fopen(fname,"rb")) != 0 )
|
if ( (fp= fopen(fname,"rb")) != 0 )
|
||||||
@@ -1433,7 +1433,7 @@ void hush_configfile(char *symbol,uint16_t rpcport)
|
|||||||
fclose(fp);
|
fclose(fp);
|
||||||
//printf("HUSH.(%s) -> userpass.(%s)\n",fname,HUSHUSERPASS);
|
//printf("HUSH.(%s) -> userpass.(%s)\n",fname,HUSHUSERPASS);
|
||||||
} else {
|
} else {
|
||||||
printf("couldnt open.(%s)\n",fname);
|
printf("could not open.(%s)\n",fname);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user