aboutsummaryrefslogtreecommitdiffstats
path: root/src/headerField.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/headerField.cpp')
-rw-r--r--src/headerField.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/headerField.cpp b/src/headerField.cpp
index 5fe7a389..9fd7d5d6 100644
--- a/src/headerField.cpp
+++ b/src/headerField.cpp
@@ -97,11 +97,11 @@ headerField* headerField::parseNext(const string& buffer, const string::size_typ
}
// This line may be a field description
- if (!parserHelpers::isspace(c))
+ if (!parserHelpers::isSpace(c))
{
const string::size_type nameStart = pos; // remember the start position of the line
- while (pos < end && (buffer[pos] != ':' && !parserHelpers::isspace(buffer[pos])))
+ while (pos < end && (buffer[pos] != ':' && !parserHelpers::isSpace(buffer[pos])))
++pos;
const string::size_type nameEnd = pos;