diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-12-30 05:55:23 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-12-30 05:55:23 +0200 |
commit | 2c6dba2732e338fbadd569d5d2ede6009f41c9c2 (patch) | |
tree | 19d6c2e3cb8cccd8fb4ac861a0d4b601cb5236c5 /src/utilities.h | |
parent | 4d09e7c6562b4a2119fb044b97e7296074ce83db (diff) |
fixed #77 #72
Diffstat (limited to 'src/utilities.h')
-rwxr-xr-x | src/utilities.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utilities.h b/src/utilities.h index 739495a..508a241 100755 --- a/src/utilities.h +++ b/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
|