diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-04-03 20:28:34 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-04-03 22:38:36 +0200 |
commit | a71012c03ef6a7cbfba69bcafb559fa417c49af0 (patch) | |
tree | db917bd1712346053d67108c494e4424ba290e07 /lib/multi.c | |
parent | 9d194a1143f280dfd5174108b27edd51d909383d (diff) | |
download | gnurl-a71012c03ef6a7cbfba69bcafb559fa417c49af0.tar.gz gnurl-a71012c03ef6a7cbfba69bcafb559fa417c49af0.tar.bz2 gnurl-a71012c03ef6a7cbfba69bcafb559fa417c49af0.zip |
code: style updates
Diffstat (limited to 'lib/multi.c')
-rw-r--r-- | lib/multi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/multi.c b/lib/multi.c index 522671d3e..1447ba8fa 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1798,7 +1798,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, result = Curl_speedcheck(data, now); if(( (data->set.max_send_speed == 0) || - (data->progress.ulspeed < data->set.max_send_speed )) && + (data->progress.ulspeed < data->set.max_send_speed)) && ( (data->set.max_recv_speed == 0) || (data->progress.dlspeed < data->set.max_recv_speed))) multistate(data, CURLM_STATE_PERFORM); @@ -2478,7 +2478,7 @@ static CURLMcode add_next_timeout(struct timeval now, /* move over the timeout list for this specific handle and remove all timeouts that are now passed tense and store the next pending timeout in *tv */ - for(e = list->head; e; ) { + for(e = list->head; e;) { struct curl_llist_element *n = e->next; long diff = curlx_tvdiff(*(struct timeval *)e->ptr, now); if(diff <= 0) |