diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-11-07 09:21:35 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-11-07 09:21:35 +0000 |
commit | cbd1a77ec24e397d05f20c6de106625676343c9d (patch) | |
tree | b92440210b287a25e34293646d26fe124581c767 /lib/escape.c | |
parent | 33f7ac06c3aaecf995360323d6f425e769e6fa79 (diff) | |
download | curl-cbd1a77ec24e397d05f20c6de106625676343c9d.tar.gz |
if () => if()
while () => while()
and some other minor re-indentings
Diffstat (limited to 'lib/escape.c')
-rw-r--r-- | lib/escape.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/escape.c b/lib/escape.c index ec9883f11..d44bf3cd9 100644 --- a/lib/escape.c +++ b/lib/escape.c @@ -112,7 +112,7 @@ char *curl_easy_escape(CURL *handle, const char *string, int inlength) #ifdef CURL_DOES_CONVERSIONS /* escape sequences are always in ASCII so convert them on non-ASCII hosts */ - if (!handle || + if(!handle || (Curl_convert_to_network(handle, &in, 1) != CURLE_OK)) { /* Curl_convert_to_network calls failf if unsuccessful */ free(ns); @@ -163,7 +163,7 @@ char *curl_easy_unescape(CURL *handle, const char *string, int length, #ifdef CURL_DOES_CONVERSIONS /* escape sequences are always in ASCII so convert them on non-ASCII hosts */ - if (!handle || + if(!handle || (Curl_convert_from_network(handle, &in, 1) != CURLE_OK)) { /* Curl_convert_from_network calls failf if unsuccessful */ free(ns); |