diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-08-28 07:41:15 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-08-28 07:41:15 +0000 |
commit | 19d0a7495e11748c892ad38347559d742100942e (patch) | |
tree | 69468b4ce0d47f2aa83bc1f181aac5c2b1b6b8fe /lib | |
parent | 099b62f1246602af876f39f9155ddae2ef909181 (diff) |
minor code indent fixes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/easy.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/lib/easy.c b/lib/easy.c index 9d9e948ce..0f6154448 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -959,7 +959,8 @@ CURLcode Curl_convert_from_network(struct SessionHandle *data, rc, curl_easy_strerror(rc)); } return(rc); - } else { + } + else { #ifdef HAVE_ICONV /* do the translation ourselves */ char *input_ptr, *output_ptr; @@ -974,9 +975,9 @@ CURLcode Curl_convert_from_network(struct SessionHandle *data, error = ERRNO; failf(data, "The iconv_open(\"%s\", \"%s\") call failed with errno %i: %s", - CURL_ICONV_CODESET_OF_HOST, - CURL_ICONV_CODESET_OF_NETWORK, - error, strerror(error)); + CURL_ICONV_CODESET_OF_HOST, + CURL_ICONV_CODESET_OF_NETWORK, + error, strerror(error)); return CURLE_CONV_FAILED; } } @@ -988,8 +989,8 @@ CURLcode Curl_convert_from_network(struct SessionHandle *data, if((rc == ICONV_ERROR) || (in_bytes != 0)) { error = ERRNO; failf(data, - "The Curl_convert_from_network iconv call failed with errno %i: %s", - error, strerror(error)); + "The Curl_convert_from_network iconv call failed with errno %i: %s", + error, strerror(error)); return CURLE_CONV_FAILED; } #else @@ -1035,9 +1036,9 @@ CURLcode Curl_convert_from_utf8(struct SessionHandle *data, error = ERRNO; failf(data, "The iconv_open(\"%s\", \"%s\") call failed with errno %i: %s", - CURL_ICONV_CODESET_OF_HOST, - CURL_ICONV_CODESET_FOR_UTF8, - error, strerror(error)); + CURL_ICONV_CODESET_OF_HOST, + CURL_ICONV_CODESET_FOR_UTF8, + error, strerror(error)); return CURLE_CONV_FAILED; } } @@ -1049,8 +1050,8 @@ CURLcode Curl_convert_from_utf8(struct SessionHandle *data, if((rc == ICONV_ERROR) || (in_bytes != 0)) { error = ERRNO; failf(data, - "The Curl_convert_from_utf8 iconv call failed with errno %i: %s", - error, strerror(error)); + "The Curl_convert_from_utf8 iconv call failed with errno %i: %s", + error, strerror(error)); return CURLE_CONV_FAILED; } if(output_ptr < input_ptr) { |