summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@theqtcompany.com>2015-12-09 14:47:37 +0100
committerTopi Reiniƶ <topi.reinio@theqtcompany.com>2015-12-10 09:13:46 +0000
commitd9af838192772176ae364d081b736bf23279a804 (patch)
treec4530fed28287649574661aa8731bcdfb28b6aa2
parentdfa19261f774c718e983a9d30e9e87710cd6a973 (diff)
Doc: Fix documentation warnings
Literal backslashes need to be escaped, otherwise they are interpreted as broken QDoc commands. Change-Id: I9fe23f672c2e596f316e72b771d674ac65fc44d7 Reviewed-by: Gatis Paeglis <gatis.paeglis@theqtcompany.com>
-rw-r--r--src/wifi/qwifisupplicant.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wifi/qwifisupplicant.cpp b/src/wifi/qwifisupplicant.cpp
index 34a40af..7b303ed 100644
--- a/src/wifi/qwifisupplicant.cpp
+++ b/src/wifi/qwifisupplicant.cpp
@@ -305,9 +305,9 @@ int QWifiSupplicant::receiveEvent(char *reply, size_t *reply_len)
Decode wpa_supplicant encoded string, see file hostapd/src/utils/common.c
in git://w1.fi/hostap.git repository.
- For Ascii encoded string, any octet < 32 or > 127 is encoded as a "\x"
+ For Ascii encoded string, any octet < 32 or > 127 is encoded as a "\\x"
followed by the hex representation of the octet. Exception chars are ",
- \, \e, \n, \r, \t which are escaped by a backslash
+ \\, \\e, \\n, \\r, \\t which are escaped by a backslash
*/
QString QWifiSupplicant::decodeHexEncoded(const QString &encoded)