fixed typo in message
This commit is contained in:
@@ -101,7 +101,7 @@ void Sleep(int millisec) { usleep(millisec * 2000); }
|
|||||||
|
|
||||||
#define SERV "[SERVER]"
|
#define SERV "[SERVER]"
|
||||||
|
|
||||||
static const char* VERSION = "8";
|
static const char* VERSION = "9";
|
||||||
static FILE* logFile = NULL;
|
static FILE* logFile = NULL;
|
||||||
|
|
||||||
extern void __bst_create(const char* name);
|
extern void __bst_create(const char* name);
|
||||||
@@ -540,7 +540,7 @@ int main(int argc, char** argv)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
const size_t hashOfPath = hash<string>{}(path);
|
const size_t hashOfPath = hash<string>{}(path);
|
||||||
__print(SERV, "Open ot create mutex of '%s' path, hash = %zu", path.c_str(), hashOfPath);
|
__print(SERV, "Open or create mutex of '%s' path, hash = %zu", path.c_str(), hashOfPath);
|
||||||
|
|
||||||
__bst_create(to_string(hashOfPath).c_str());
|
__bst_create(to_string(hashOfPath).c_str());
|
||||||
if (argc == 2 && argv[1] == string("-unlock"))
|
if (argc == 2 && argv[1] == string("-unlock"))
|
||||||
|
|||||||
Reference in New Issue
Block a user