summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBryan Ischo <bji@lolita.(none)>2009-02-13 02:01:23 +1300
committerBryan Ischo <bji@lolita.(none)>2009-02-13 02:01:23 +1300
commitdea3a715568e3544678d84cb15ed625684f579e9 (patch)
tree3124d4f616ef172f4a0bd582fd12e51147ee5e50 /src
parent87a9f31214eac06b1963411e6bc60f5f219fc305 (diff)
downloadceph-libs3-dea3a715568e3544678d84cb15ed625684f579e9.tar.gz
* Oops, one more isblank to convert to is_blank for Windows
Diffstat (limited to 'src')
-rw-r--r--src/response_headers_handler.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/response_headers_handler.c b/src/response_headers_handler.c
index 14e14a0..e506ea4 100644
--- a/src/response_headers_handler.c
+++ b/src/response_headers_handler.c
@@ -74,17 +74,17 @@ void response_headers_handler_add(ResponseHeadersHandler *handler,
// Skip whitespace at beginning of header; there never should be any,
// but just to be safe
- while (isblank(*header)) {
+ while (is_blank(*header)) {
header++;
}
// The header must end in \r\n, so skip back over it, and also over any
// trailing whitespace
end -= 3;
- while ((end > header) && isblank(*end)) {
+ while ((end > header) && is_blank(*end)) {
end--;
}
- if (!isblank(*end)) {
+ if (!is_blank(*end)) {
end++;
}
@@ -106,7 +106,7 @@ void response_headers_handler_add(ResponseHeadersHandler *handler,
// Now walk c past the colon
c++;
// Now skip whitespace to the beginning of the value
- while (isblank(*c)) {
+ while (is_blank(*c)) {
c++;
}