From 0072a0880c077fc0a21fd57214e6c5bf8497402a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 26 Jan 2015 00:17:21 +0000 Subject: first version that logs in git-svn-id: http://svn.miranda-ng.org/main/trunk@11913 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/WhatsApp/src/WhatsAPI++/utilities.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'protocols/WhatsApp/src/WhatsAPI++/utilities.cpp') 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); -- cgit v1.2.3