summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/WhatsAPI++/utilities.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-01-26 00:17:21 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-01-26 00:17:21 +0000
commit0072a0880c077fc0a21fd57214e6c5bf8497402a (patch)
treea4c4a2667fbca02b195ebc5c268752ab3a407aea /protocols/WhatsApp/src/WhatsAPI++/utilities.cpp
parentd32c7402ad63175d48579a2779d47800a2dd74c2 (diff)
first version that logs in
git-svn-id: http://svn.miranda-ng.org/main/trunk@11913 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/utilities.cpp')
-rw-r--r--protocols/WhatsApp/src/WhatsAPI++/utilities.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/utilities.cpp b/protocols/WhatsApp/src/WhatsAPI++/utilities.cpp
index 491a39e3e4..0734c34210 100644
--- a/protocols/WhatsApp/src/WhatsAPI++/utilities.cpp
+++ b/protocols/WhatsApp/src/WhatsAPI++/utilities.cpp
@@ -21,7 +21,6 @@ std::string reverseString(const std::string& str)
std::string itoa(int value, unsigned int base)
{
-
const char digitMap[] = "0123456789abcdef";
std::string buf;
@@ -139,7 +138,6 @@ std::string doubleToStr(double d)
time_t parseBBDate(const string& s)
{
- _LOGDATA("parse DATE %s", s.c_str());
if (s.length() < 17)
return time(NULL);
@@ -155,19 +153,6 @@ time_t parseBBDate(const string& s)
return mktime(&timeinfo);
}
-void logData(const char *format, ...)
-{
- va_list args;
- va_start(args, format);
-#ifdef _LOGWIN32
- std::string formatLine = std::string(format).append("\n");
- vprintf(formatLine.c_str(), args); fflush(stdout);
-#else
- vsyslog(LOG_ERR, format, args);
-#endif
-
-}
-
long long parseLongLong(const std::string& str)
{
std::stringstream sstr(str);