replace isprint() with ISPRINT()
authorYang Tse <yangsita@gmail.com>
Thu, 10 Jun 2010 00:33:45 +0000 (02:33 +0200)
committerYang Tse <yangsita@gmail.com>
Thu, 10 Jun 2010 00:33:45 +0000 (02:33 +0200)
lib/curl_fnmatch.c

index 0725ce2..ad4ec18 100644 (file)
@@ -223,7 +223,7 @@ static int setcharset(unsigned char **p, unsigned char *charset)
       }
       else if(c == '\\') {
         c = *(++(*p));
-        if(isprint(c)) {
+        if(ISPRINT(c)) {
           charset[c] = 1;
           (*p)++;
         }