aboutsummaryrefslogtreecommitdiff
path: root/src/server/QXmppOutgoingServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/QXmppOutgoingServer.cpp')
-rw-r--r--src/server/QXmppOutgoingServer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/QXmppOutgoingServer.cpp b/src/server/QXmppOutgoingServer.cpp
index 35f0eec4..af71957a 100644
--- a/src/server/QXmppOutgoingServer.cpp
+++ b/src/server/QXmppOutgoingServer.cpp
@@ -95,7 +95,7 @@ QXmppOutgoingServer::QXmppOutgoingServer(const QString &domain, QObject *parent)
this, SLOT(slotSslErrors(QList<QSslError>)));
Q_ASSERT(check);
- incrementCounter("outgoing-server.create");
+ updateCounter("outgoing-server.create");
}
/// Destroys the stream.
@@ -103,7 +103,7 @@ QXmppOutgoingServer::QXmppOutgoingServer(const QString &domain, QObject *parent)
QXmppOutgoingServer::~QXmppOutgoingServer()
{
- incrementCounter("outgoing-server.destroy");
+ updateCounter("outgoing-server.destroy");
delete d;
}