summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/utilities.h
diff options
context:
space:
mode:
authorAlexander Gluzsky <sss123next@list.ru>2012-12-30 03:51:49 +0000
committerAlexander Gluzsky <sss123next@list.ru>2012-12-30 03:51:49 +0000
commitd0fefcaeec1f2c9aad122bbdb97506d0acb9995f (patch)
tree90a8009192c2f4232a285ddaa9a2649d0372fb3d /plugins/New_GPG/src/utilities.h
parent8baa487d495ee212ed9de4559012f67c030565f2 (diff)
fixed bug with tag stripping
git-svn-id: http://svn.miranda-ng.org/main/trunk@2890 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG/src/utilities.h')
-rwxr-xr-xplugins/New_GPG/src/utilities.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/New_GPG/src/utilities.h b/plugins/New_GPG/src/utilities.h
index 739495a48a..508a241110 100755
--- a/plugins/New_GPG/src/utilities.h
+++ b/plugins/New_GPG/src/utilities.h
@@ -43,7 +43,7 @@ public:
{
eventType = EVENTTYPE_MESSAGE;
flags = 0;
- timestamp = 0;
+ timestamp = time(0);
szModule = 0;
cbSize = 0;
cbBlob = strlen(msg)+1;
@@ -81,7 +81,7 @@ public:
eventType = type;
else
eventType = EVENTTYPE_MESSAGE;
- timestamp = 0;
+ timestamp = time(0);
szModule = 0;
cbSize = 0;
}
@@ -104,5 +104,6 @@ void fix_line_term(std::string &s);
void fix_line_term(std::wstring &s);
void strip_line_term(std::wstring &s);
void strip_line_term(std::string &s);
+void strip_tags(std::wstring &s);
#endif