This commit is contained in:
Duke Leto
2021-07-11 18:12:48 -04:00
parent bddd4c5cd3
commit 20a4933eb2

View File

@@ -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);
} }
} }