aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2009-06-19 10:20:28 +0000
committerMichal Marek <mmarek@suse.cz>2009-06-19 10:20:28 +0000
commitad1bfc54689060326c076bb7c18d805c955101b6 (patch)
treeb588b5e3bd6937f2e584acecda11db0dcb26539a /lib
parent2c0c05e96d8b611e1f5eedea518fa1a7857804c9 (diff)
fix indentation.
Diffstat (limited to 'lib')
-rw-r--r--lib/http.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/http.c b/lib/http.c
index f69c5aaaf..9523da38f 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -2292,20 +2292,20 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
if(checkprefix("ftp://", ppath)) {
if (data->set.proxy_transfer_mode) {
/* when doing ftp, append ;type=<a|i> if not present */
- char *p = strstr(ppath, ";type=");
- if(p && p[6] && p[7] == 0) {
- switch (Curl_raw_toupper(p[6])) {
- case 'A':
- case 'D':
- case 'I':
- break;
- default:
- p = NULL;
- }
+ char *p = strstr(ppath, ";type=");
+ if(p && p[6] && p[7] == 0) {
+ switch (Curl_raw_toupper(p[6])) {
+ case 'A':
+ case 'D':
+ case 'I':
+ break;
+ default:
+ p = NULL;
}
- if(!p)
- snprintf(ftp_typecode, sizeof(ftp_typecode), ";type=%c",
- data->set.prefer_ascii ? 'a' : 'i');
+ }
+ if(!p)
+ snprintf(ftp_typecode, sizeof(ftp_typecode), ";type=%c",
+ data->set.prefer_ascii ? 'a' : 'i');
}
if (conn->bits.user_passwd && !conn->bits.userpwd_in_url)
paste_ftp_userpwd = TRUE;