This commit is contained in:
jl777
2016-10-27 20:46:21 -03:00
parent f82834d805
commit 2845c3efb8

View File

@@ -1115,9 +1115,7 @@ void komodo_configfile(char *symbol,uint16_t port)
printf("Created (%s)\n",fname);
} else printf("Couldnt create (%s)\n",fname);
}
else
{
fclose(fp);
else fclose(fp);
strcpy(fname,GetDataDir(false).string().c_str());
#ifdef WIN32
while ( fname[strlen(fname)-1] != '\\' )
@@ -1153,7 +1151,6 @@ void komodo_configfile(char *symbol,uint16_t port)
free(rpcpassword);
fclose(fp);
} else printf("couldnt open.(%s)\n",fname);
}
}
void lock_queue(queue_t *queue)