diff options
author | Attila Molnar <attilamolnar@hush.com> | 2013-04-01 06:53:24 -0700 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2013-04-01 06:53:24 -0700 |
commit | df2cbbe6e7f63a36e4f71b353769e5568eaa9e73 (patch) | |
tree | 59845c8c8f859b721fdc9584a2d4ab9904e2e7ae /src/modules/m_httpd_stats.cpp | |
parent | ba49d8eeabca0358314f36397abd56d8340f3753 (diff) | |
parent | f00ffba521c16d0f5419f60c0b4d362b362b76e6 (diff) |
Merge pull request #454 from SaberUK/master+misc-improvements
Purge dead code and deprecated types.
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
-rw-r--r-- | src/modules/m_httpd_stats.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index 547d6032f..9115fedaf 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -55,8 +55,7 @@ class ModuleHttpStats : public Module ret += it->second; ret += ';'; } - else if (*x == 0x9 || *x == 0xA || *x == 0xD || - (*x >= 0x20 && *x <= 0xD7FF) || (*x >= 0xE000 && *x <= 0x10FFFF)) + else if (*x == 0x9 || *x == 0xA || *x == 0xD || *x >= 0x20) { // The XML specification defines the following characters as valid inside an XML document: // Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF] |