1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

indent correctly

This commit is contained in:
Daniel Stenberg 2011-05-04 23:45:30 +02:00
parent ade337d79e
commit adae5926dd

View File

@ -697,12 +697,12 @@ static CURLcode readwrite_data(struct SessionHandle *data,
/* Don't let excess data pollute body writes */ /* Don't let excess data pollute body writes */
if(k->maxdownload == -1 || (curl_off_t)k->hbuflen <= k->maxdownload) if(k->maxdownload == -1 || (curl_off_t)k->hbuflen <= k->maxdownload)
result = Curl_client_write(conn, CLIENTWRITE_BODY, result = Curl_client_write(conn, CLIENTWRITE_BODY,
data->state.headerbuff, data->state.headerbuff,
k->hbuflen); k->hbuflen);
else else
result = Curl_client_write(conn, CLIENTWRITE_BODY, result = Curl_client_write(conn, CLIENTWRITE_BODY,
data->state.headerbuff, data->state.headerbuff,
(size_t)k->maxdownload); (size_t)k->maxdownload);
if(result) if(result)
return result; return result;
@ -729,8 +729,8 @@ static CURLcode readwrite_data(struct SessionHandle *data,
else else
#endif /* CURL_DISABLE_POP3 */ #endif /* CURL_DISABLE_POP3 */
result = Curl_client_write(conn, CLIENTWRITE_BODY, k->str, result = Curl_client_write(conn, CLIENTWRITE_BODY, k->str,
nread); nread);
} }
#ifdef HAVE_LIBZ #ifdef HAVE_LIBZ
break; break;
@ -767,7 +767,7 @@ static CURLcode readwrite_data(struct SessionHandle *data,
#ifndef CURL_DISABLE_RTSP #ifndef CURL_DISABLE_RTSP
if(excess > 0 && !conn->bits.stream_was_rewound && if(excess > 0 && !conn->bits.stream_was_rewound &&
(conn->handler->protocol & CURLPROTO_RTSP)) { (conn->handler->protocol & CURLPROTO_RTSP)) {
/* Check for RTP after the content if there is unrewound excess */ /* Check for RTP after the content if there is unrewound excess */
/* Parse the excess data */ /* Parse the excess data */
@ -780,7 +780,7 @@ static CURLcode readwrite_data(struct SessionHandle *data,
if(readmore) if(readmore)
k->keepon |= KEEP_RECV; /* we're not done reading */ k->keepon |= KEEP_RECV; /* we're not done reading */
break; break;
} }
#endif #endif