diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2015-03-13 00:16:40 +0100 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2015-03-13 00:16:40 +0100 |
| commit | 05bff44937922c0a7519952201f6854b72d38483 (patch) | |
| tree | 1b05e4263c4621f99a477d13d2362143bdaa8e03 /src/base/QXmppSocks.cpp | |
| parent | 69afc4644606d40f0928a0eb0775ec9a03fdb661 (diff) | |
| download | qxmpp-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.cpp | 10 |
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) |
