summaryrefslogtreecommitdiff
path: root/plugins/CmdLine/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CmdLine/src')
-rw-r--r--plugins/CmdLine/src/mimcmd_handlers.cpp2
-rw-r--r--plugins/CmdLine/src/services.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CmdLine/src/mimcmd_handlers.cpp b/plugins/CmdLine/src/mimcmd_handlers.cpp
index b24ef0eaba..2971dbd8c3 100644
--- a/plugins/CmdLine/src/mimcmd_handlers.cpp
+++ b/plugins/CmdLine/src/mimcmd_handlers.cpp
@@ -745,7 +745,7 @@ void HandleMessageCommand(PCommand command, TArgument *argv, int argc, PReply re
strncpy_s(module, ack->szModule, _countof(module));
e.szModule = module;
- e.timestamp = (DWORD)time(nullptr);
+ e.timestamp = (DWORD)time(0);
db_event_add(ack->hContact, &e);
}
diff --git a/plugins/CmdLine/src/services.cpp b/plugins/CmdLine/src/services.cpp
index 66f1c6d310..333cc893a1 100644
--- a/plugins/CmdLine/src/services.cpp
+++ b/plugins/CmdLine/src/services.cpp
@@ -72,7 +72,7 @@ int StartServer()
{
if (sdCmdLine->instances == 0)
{
- HANDLE server = mir_forkthread(ServerWorkerThread, nullptr);
+ HANDLE server = mir_forkthread(ServerWorkerThread);
if (server)
{
wchar_t path[MIMFOLDER_SIZE];