aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-11-15 13:12:35 +0000
committerYang Tse <yangsita@gmail.com>2007-11-15 13:12:35 +0000
commit738e4f410c5b84a4d843c7de9a8a00ce45af0955 (patch)
tree322c0598c06806f1b657d58b03278cf42974408b
parent4e731a0189dd0a76a0619510cf08e2238ce6e02a (diff)
Replace isgraph with our uppercase macro version
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 4f9b3e4ec..d1b7009b7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3422,7 +3422,7 @@ CURLcode _my_setopt(CURL *curl, struct Configurable *config, const char *name,
}
/* attempt to figure out if it is a string (since the tag numerical doesn't
offer this info) and then output it as a string if so */
- else if(pval && isgraph(ptr[0]) && isgraph(ptr[1]) && isgraph(ptr[2]))
+ else if(pval && ISGRAPH(ptr[0]) && ISGRAPH(ptr[1]) && ISGRAPH(ptr[2]))
snprintf(value, sizeof(value), "\"%s\"", (char *)ptr);
else if(pval) {
snprintf(value, sizeof(value), "%p", pval);