diff options
Diffstat (limited to 'plugins/SMS/src/send.cpp')
-rw-r--r-- | plugins/SMS/src/send.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SMS/src/send.cpp b/plugins/SMS/src/send.cpp index 0970e5c400..f1a9f98653 100644 --- a/plugins/SMS/src/send.cpp +++ b/plugins/SMS/src/send.cpp @@ -60,7 +60,7 @@ void StartSmsSend(HWND hWndDlg,size_t dwModuleIndex,LPWSTR lpwszPhone,size_t dwP WideCharToMultiByte(CP_UTF8, 0, lpwszPhone, (int)dwPhoneSize, szPhone, MAX_PHONE_LEN, nullptr, nullptr);
dwPhoneSize=CopyNumberA(szPhone, szPhone, dwPhoneSize);
- pdbei->timestamp = time(nullptr);
+ pdbei->timestamp = time(0);
pdbei->flags = (DBEF_SENT | DBEF_UTF);
pdbei->eventType = ICQEVENTTYPE_SMS;
pdbei->cbBlob = (mir_snprintf(lpszBuff, dwBuffSize, "SMS To: +%s\r\n%s", szPhone, lpszMessageUTF) + 4);
|