summaryrefslogtreecommitdiff
path: root/methods/https.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-12-27 00:51:59 +0100
committerJulian Andres Klode <jak@debian.org>2015-12-27 01:20:41 +0100
commit74dedb4ae28fd4f7c89bf769708d4f7edc7ed79a (patch)
treea1d8539a50180611afcd34fac1e597aaf286cd19 /methods/https.cc
parent98b063439156595f74c89e923bf4d3fd51a3b36f (diff)
Convert most callers of isspace() to isspace_ascii()
This converts all callers that read machine-generated data, callers that might work with user input are not converted.
Diffstat (limited to 'methods/https.cc')
-rw-r--r--methods/https.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/https.cc b/methods/https.cc
index a99b1861b..ac6d355ed 100644
--- a/methods/https.cc
+++ b/methods/https.cc
@@ -52,7 +52,7 @@ HttpsMethod::parse_header(void *buffer, size_t size, size_t nmemb, void *userp)
CURLUserPointer *me = static_cast<CURLUserPointer *>(userp);
std::string line((char*) buffer, len);
for (--len; len > 0; --len)
- if (isspace(line[len]) == 0)
+ if (isspace_ascii(line[len]) == 0)
{
++len;
break;