mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 12:35:04 -05:00
Curl_read_plain: indent code
This commit is contained in:
parent
407e08baad
commit
0fd2bf3726
@ -527,10 +527,10 @@ CURLcode Curl_read_plain(curl_socket_t sockfd,
|
|||||||
* Returns a regular CURLcode value.
|
* Returns a regular CURLcode value.
|
||||||
*/
|
*/
|
||||||
CURLcode Curl_read(struct connectdata *conn, /* connection data */
|
CURLcode Curl_read(struct connectdata *conn, /* connection data */
|
||||||
curl_socket_t sockfd, /* read from this socket */
|
curl_socket_t sockfd, /* read from this socket */
|
||||||
char *buf, /* store read data here */
|
char *buf, /* store read data here */
|
||||||
size_t sizerequested, /* max amount to read */
|
size_t sizerequested, /* max amount to read */
|
||||||
ssize_t *n) /* amount bytes read */
|
ssize_t *n) /* amount bytes read */
|
||||||
{
|
{
|
||||||
CURLcode curlcode = CURLE_RECV_ERROR;
|
CURLcode curlcode = CURLE_RECV_ERROR;
|
||||||
ssize_t nread = 0;
|
ssize_t nread = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user