aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppStun.cpp
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2020-02-02 18:13:26 +0100
committerLNJ <lnj@kaidan.im>2020-02-03 00:11:55 +0100
commit99b850a3008bbb03d3449d683adb87839f7d5c4b (patch)
tree70083109e40f218204130357b571f480a42a1795 /src/base/QXmppStun.cpp
parent2dd54da9620028e1c051c3d4a9a6121ccab3f866 (diff)
downloadqxmpp-99b850a3008bbb03d3449d683adb87839f7d5c4b.tar.gz
clang-format: Enable regrouping and sorting of includes
Diffstat (limited to 'src/base/QXmppStun.cpp')
-rw-r--r--src/base/QXmppStun.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/base/QXmppStun.cpp b/src/base/QXmppStun.cpp
index 5ac859d4..2d4bbdc5 100644
--- a/src/base/QXmppStun.cpp
+++ b/src/base/QXmppStun.cpp
@@ -23,19 +23,19 @@
#define QXMPP_DEBUG_STUN
+#include "QXmppStun_p.h"
+#include "QXmppUtils.h"
+
#include <QCryptographicHash>
#include <QDataStream>
#include <QHostInfo>
#include <QNetworkInterface>
-#include <QUdpSocket>
#include <QTimer>
-
-#include "QXmppStun_p.h"
-#include "QXmppUtils.h"
+#include <QUdpSocket>
#define STUN_ID_SIZE 12
#define STUN_RTO_INTERVAL 500
-#define STUN_RTO_MAX 7
+#define STUN_RTO_MAX 7
static const quint32 STUN_MAGIC = 0x2112A442;
static const quint16 STUN_HEADER = 20;