diff options
author | George Hazan <george.hazan@gmail.com> | 2015-02-07 19:36:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-02-07 19:36:41 +0000 |
commit | 5b304799fb995811a8686bab9e877cb235c21a2e (patch) | |
tree | 0e212481e8b6b92b82ae10fa6b6896f565e64bb4 /protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp | |
parent | 9540f9a510f3eaab57285c56198d270c648d54a1 (diff) |
correct log format
git-svn-id: http://svn.miranda-ng.org/main/trunk@12044 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp')
-rw-r--r-- | protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp index be44413c52..e1e983cad0 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp +++ b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp @@ -91,7 +91,7 @@ void WAConnection::logData(const char *format, ...) va_start(args, format);
char tmp[4000];
vsprintf_s(tmp, format, args);
- rawConn->log(tmp);
+ rawConn->log(">> ", tmp);
}
/////////////////////////////////////////////////////////////////////////////////////////
@@ -196,7 +196,7 @@ bool WAConnection::read() throw(WAException) return false;
string tmp = node->toString();
- rawConn->log(tmp.c_str());
+ rawConn->log("XML received\n", tmp.c_str());
if (ProtocolTreeNode::tagEquals(node, "iq"))
parseIq(node);
|