summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/utilities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/New_GPG/src/utilities.cpp')
-rwxr-xr-xplugins/New_GPG/src/utilities.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/New_GPG/src/utilities.cpp b/plugins/New_GPG/src/utilities.cpp
index 33de2251a7..f8c2531190 100755
--- a/plugins/New_GPG/src/utilities.cpp
+++ b/plugins/New_GPG/src/utilities.cpp
@@ -568,7 +568,7 @@ void HistoryLog(MCONTACT hContact, db_event evt)
Event.eventType = evt.eventType;
Event.flags = evt.flags;
if (!evt.timestamp)
- Event.timestamp = (DWORD)time(nullptr);
+ Event.timestamp = (DWORD)time(0);
else
Event.timestamp = evt.timestamp;
Event.cbBlob = (DWORD)mir_strlen((char*)evt.pBlob) + 1;