From 2f37d41480705c4f711f177ccaac79d7f12e7bb5 Mon Sep 17 00:00:00 2001 From: ishmal Date: Sun, 13 Apr 2008 19:34:31 +0000 Subject: [PATCH] more debug output messages --- src/pedro/pedroxmpp.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pedro/pedroxmpp.cpp b/src/pedro/pedroxmpp.cpp index 0fa86a6c4..23bfbad6f 100644 --- a/src/pedro/pedroxmpp.cpp +++ b/src/pedro/pedroxmpp.cpp @@ -1474,6 +1474,8 @@ bool XmppClient::inBandRegistrationCancel() //# A U T H E N T I C A T E //######################################################################## + + bool XmppClient::iqAuthenticate(const DOMString &streamId) { Parser parser; @@ -1486,7 +1488,7 @@ bool XmppClient::iqAuthenticate(const DOMString &streamId) return false; DOMString recbuf = readStanza(); - //printf("iq received: '%s'\n", recbuf.c_str()); + status("iq auth recv: '%s'\n", recbuf.c_str()); Element *elem = parser.parse(recbuf); //elem->print(); DOMString iqType = elem->getTagAttribute("iq", "type"); @@ -1537,7 +1539,7 @@ bool XmppClient::iqAuthenticate(const DOMString &streamId) } recbuf = readStanza(); - //printf("iq received: '%s'\n", recbuf.c_str()); + status("iq auth recv: '%s'\n", recbuf.c_str()); elem = parser.parse(recbuf); //elem->print(); iqType = elem->getTagAttribute("iq", "type"); -- 2.30.2