]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cgi-bin/var.c
Merge changes from CUPS 1.4svn-r8033.
[thirdparty/cups.git] / cgi-bin / var.c
index 7ceb3ecaac662acaa203bb92c4614c7371edeb14..164144a27529c7114557047dcb49cd11851786a4 100644 (file)
@@ -925,7 +925,7 @@ cgi_initialize_string(const char *data)     /* I - Form data string */
     if (s > value)
       s --;
 
-    while (s >= value && *s == ' ')
+    while (s >= value && isspace(*s & 255))
       *s-- = '\0';
 
    /*