diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-12-06 09:22:06 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-12-06 09:22:06 +0000 |
| commit | fab2e18c6451705be9fb784a248260d304f621c7 (patch) | |
| tree | ecbcdcb6821e0001f9003ab07a6b80907fcdd7e1 /src/QXmppStun.h | |
| parent | e207ab2c6fbdf046129978d812936af9d34c302f (diff) | |
| download | qxmpp-fab2e18c6451705be9fb784a248260d304f621c7.tar.gz | |
rework QXmppStunMessage::peekType to return magic cookie
Diffstat (limited to 'src/QXmppStun.h')
| -rw-r--r-- | src/QXmppStun.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QXmppStun.h b/src/QXmppStun.h index 8e70cf9a..71081b26 100644 --- a/src/QXmppStun.h +++ b/src/QXmppStun.h @@ -77,7 +77,7 @@ public: QByteArray encode(const QString &password = QString(), bool addFingerprint = true) const; bool decode(const QByteArray &buffer, const QString &password = QString(), QStringList *errors = 0); QString toString() const; - static quint16 peekType(const QByteArray &buffer, QByteArray &id); + static quint16 peekType(const QByteArray &buffer, quint32 &cookie, QByteArray &id); // attributes int errorCode; |
