nhttpd: skip doubles decode on channlename, revert 42b69a8a5e

This commit is contained in:
satbaby
2012-12-17 12:58:24 +01:00
parent 42b69a8a5e
commit ed318d97bc
2 changed files with 5 additions and 4 deletions

View File

@@ -203,12 +203,9 @@ std::string decodeString(std::string encodedString) {
iStr = strtoul(hex, NULL, 16); /* convert to Hex char */
result += (char) iStr;
count += 3;
#if 0
//why decode '+' to ' ' ?
} else if (string[count] == '+') {
result += ' ';
count++;
#endif
} else {
result += string[count];
count++;