diff options
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);
|
