From d9af838192772176ae364d081b736bf23279a804 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Wed, 9 Dec 2015 14:47:37 +0100 Subject: 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 --- src/wifi/qwifisupplicant.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) -- cgit v1.2.3