aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/headerField.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/headerField.cpp b/src/headerField.cpp
index 59b10e76..7d23ce84 100644
--- a/src/headerField.cpp
+++ b/src/headerField.cpp
@@ -142,7 +142,7 @@ ref <headerField> headerField::parseNext
++pos;
const string::size_type contentsStart = pos;
- string::size_type contentsEnd = 0;
+ string::size_type contentsEnd = end;
// Extract the field value
while (pos < end)