]> git.saurik.com Git - apt.git/blobdiff - methods/https.cc
always download changelogs into /tmp first
[apt.git] / methods / https.cc
index a99b1861b92134a8727c0ecda27d50a868f07d7d..ac6d355edae701e5c3f570fbd839d377b1af74bb 100644 (file)
@@ -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;