aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppSocks.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2015-03-13 00:16:40 +0100
committerJeremy Lainé <jeremy.laine@m4x.org>2015-03-13 00:16:40 +0100
commit05bff44937922c0a7519952201f6854b72d38483 (patch)
tree1b05e4263c4621f99a477d13d2362143bdaa8e03 /src/base/QXmppSocks.cpp
parent69afc4644606d40f0928a0eb0775ec9a03fdb661 (diff)
downloadqxmpp-05bff44937922c0a7519952201f6854b72d38483.tar.gz
Remove trailing comma after last item in enums
This allows compilation with GCC in pedantic mode.
Diffstat (limited to 'src/base/QXmppSocks.cpp')
-rw-r--r--src/base/QXmppSocks.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/base/QXmppSocks.cpp b/src/base/QXmppSocks.cpp
index 1bfc1111..82ccd096 100644
--- a/src/base/QXmppSocks.cpp
+++ b/src/base/QXmppSocks.cpp
@@ -33,19 +33,19 @@ const static char SocksVersion = 5;
enum AuthenticationMethod {
NoAuthentication = 0,
GSSAPI = 1,
- UsernamePassword = 2,
+ UsernamePassword = 2
};
enum Command {
ConnectCommand = 1,
BindCommand = 2,
- AssociateCommand = 3,
+ AssociateCommand = 3
};
enum AddressType {
IPv4Address = 1,
DomainName = 3,
- IPv6Address = 4,
+ IPv6Address = 4
};
enum ReplyType {
@@ -57,13 +57,13 @@ enum ReplyType {
ConnectionRefused = 5,
TtlExpired = 6,
CommandNotSupported = 7,
- AddressTypeNotSupported = 8,
+ AddressTypeNotSupported = 8
};
enum State {
ConnectState = 0,
CommandState = 1,
- ReadyState = 2,
+ ReadyState = 2
};
static QByteArray encodeHostAndPort(quint8 type, const QByteArray &host, quint16 port)