summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-10-06 11:01:26 (GMT)
committerAndré Klitzing <aklitzing@gmail.com>2017-10-09 15:04:59 (GMT)
commitb01ffb0f295fbf39771783da84797231f38b976e (patch)
treeed9444f5ca5ae341631be0514d5fec053bef5aaf
parent71b5fc5dd10e9edce8db886f6c05b7950b3cca6e (diff)
downloadqtwebsockets-b01ffb0f295fbf39771783da84797231f38b976e.tar.gz
Use multi-arg instead of multiple arg calls
Change-Id: Ic1f4b357138457eb33ac9154a280f499664c3c78 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
-rw-r--r--src/websockets/qwebsocket_p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/websockets/qwebsocket_p.cpp b/src/websockets/qwebsocket_p.cpp
index f36056c..2e19d3d 100644
--- a/src/websockets/qwebsocket_p.cpp
+++ b/src/websockets/qwebsocket_p.cpp
@@ -1011,7 +1011,7 @@ void QWebSocketPrivate::processHandshake(QTcpSocket *pSocket)
if (!ok)
errorDescription =
QWebSocket::tr("Accept-Key received from server %1 does not match the client key %2.")
- .arg(acceptKey).arg(accept);
+ .arg(acceptKey, accept);
} else {
errorDescription =
QWebSocket::tr("QWebSocketPrivate::processHandshake: Invalid statusline in response: %1.")