From: Daniel Stenberg Date: Mon, 27 Nov 2006 13:38:32 +0000 (+0000) Subject: no need to access it with conn->data since data is already a local variable X-Git-Tag: curl-7_16_1~138 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=688699a0465d03bc830745906796766b247572f6;p=thirdparty%2Fcurl.git no need to access it with conn->data since data is already a local variable holding the conn->data value --- diff --git a/lib/transfer.c b/lib/transfer.c index 6b7b819781..e3d85aee04 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -1677,8 +1677,8 @@ Transfer(struct connectdata *conn) /* limit-rate logic: if speed exceeds threshold, then do not include fd in select set */ - if ( (conn->data->set.max_send_speed > 0) && - (conn->data->progress.ulspeed > conn->data->set.max_send_speed) ) { + if ( (data->set.max_send_speed > 0) && + (data->progress.ulspeed > data->set.max_send_speed) ) { fd_write = CURL_SOCKET_BAD; Curl_pgrsUpdate(conn); } @@ -1689,8 +1689,8 @@ Transfer(struct connectdata *conn) fd_write = CURL_SOCKET_BAD; } - if ( (conn->data->set.max_recv_speed > 0) && - (conn->data->progress.dlspeed > conn->data->set.max_recv_speed) ) { + if ( (data->set.max_recv_speed > 0) && + (data->progress.dlspeed > data->set.max_recv_speed) ) { fd_read = CURL_SOCKET_BAD; Curl_pgrsUpdate(conn); }