|
@ -232,9 +232,12 @@ void set_coinconfname(char *fname,char *coinstr,char *userhome,char *coindir,cha |
|
|
sprintf(confname,"%s.conf",buf); |
|
|
sprintf(confname,"%s.conf",buf); |
|
|
} |
|
|
} |
|
|
printf("userhome.(%s) coindir.(%s) confname.(%s)\n",userhome,coindir,confname); |
|
|
printf("userhome.(%s) coindir.(%s) confname.(%s)\n",userhome,coindir,confname); |
|
|
if ( userhome != 0 && userhome[0] != 0 ) |
|
|
#ifdef WIN32 |
|
|
|
|
|
if ( userhome == 0 || userhome[0] == 0 ) |
|
|
|
|
|
sprintf(fname,"%s/%s",coindir,confname); |
|
|
|
|
|
else |
|
|
|
|
|
#endif |
|
|
sprintf(fname,"%s/%s/%s",userhome,coindir,confname); |
|
|
sprintf(fname,"%s/%s/%s",userhome,coindir,confname); |
|
|
else sprintf(fname,"%s/%s",coindir,confname); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
uint16_t extract_userpass(char *serverport,char *userpass,char *coinstr,char *userhome,char *coindir,char *confname) |
|
|
uint16_t extract_userpass(char *serverport,char *userpass,char *coinstr,char *userhome,char *coindir,char *confname) |
|
|