From cbd1a77ec24e397d05f20c6de106625676343c9d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 7 Nov 2007 09:21:35 +0000 Subject: if () => if() while () => while() and some other minor re-indentings --- lib/escape.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/escape.c') 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); -- cgit v1.2.3