summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-14 17:58:02 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-14 21:36:30 (GMT)
commitcad974b45c0fb9355e68d9728e42c9ae3dbcebc7 (patch)
tree5c3a874d6e28b297aad599656743a79ec74c94c5 /Swiften/Session
parentde84b90c52a1f367b31eb56beea56c0dceae43f5 (diff)
downloadswift-contrib-cad974b45c0fb9355e68d9728e42c9ae3dbcebc7.zip
swift-contrib-cad974b45c0fb9355e68d9728e42c9ae3dbcebc7.tar.bz2
String refactoring.
Removed String::getLength(). Rewrote String::removeAll().
Diffstat (limited to 'Swiften/Session')
-rw-r--r--Swiften/Session/SessionTracer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Session/SessionTracer.h b/Swiften/Session/SessionTracer.h
index 13348fb..9315d2f 100644
--- a/Swiften/Session/SessionTracer.h
+++ b/Swiften/Session/SessionTracer.h
@@ -23,7 +23,7 @@ namespace Swift {
private:
void printData(char direction, const ByteArray& data) {
std::cerr << direction << direction << " " << session->getLocalJID() << " ";
- for (unsigned int i = 0; i < 72 - session->getLocalJID().toString().getLength() - session->getRemoteJID().toString().getLength(); ++i) {
+ for (unsigned int i = 0; i < 72 - session->getLocalJID().toString().getUTF8Size() - session->getRemoteJID().toString().getUTF8Size(); ++i) {
std::cerr << direction;
}
std::cerr << " " << session->getRemoteJID()<< " " << direction << direction << std::endl;