This commit is contained in:
jl777
2016-11-19 12:17:06 -03:00
parent 68503edfd9
commit 214fa084f0
2 changed files with 8 additions and 1 deletions

View File

@@ -103,7 +103,7 @@ bool AppInit(int argc, char* argv[])
while ( ASSETCHAIN_INIT == 0 ) while ( ASSETCHAIN_INIT == 0 )
{ {
//if ( komodo_is_issuer() != 0 ) //if ( komodo_is_issuer() != 0 )
komodo_passport_iteration(); // komodo_passport_iteration();
sleep(1); sleep(1);
} }
if (!boost::filesystem::is_directory(GetDataDir(false))) if (!boost::filesystem::is_directory(GetDataDir(false)))

View File

@@ -1272,7 +1272,14 @@ void komodo_statefname(char *fname,char *symbol)
{ {
fname[len - n] = 0; fname[len - n] = 0;
if ( symbol[0] != 0 ) if ( symbol[0] != 0 )
{
strcpy(&fname[len - n],symbol); strcpy(&fname[len - n],symbol);
#ifdef WIN32
strcat(fname,"\\");
#else
strcat(fname,"//");
#endif
}
} }
else else
{ {