summaryrefslogtreecommitdiff
path: root/lib/multi.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-04-03 20:28:34 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-04-03 22:38:36 +0200
commita71012c03ef6a7cbfba69bcafb559fa417c49af0 (patch)
treedb917bd1712346053d67108c494e4424ba290e07 /lib/multi.c
parent9d194a1143f280dfd5174108b27edd51d909383d (diff)
downloadgnurl-a71012c03ef6a7cbfba69bcafb559fa417c49af0.tar.gz
gnurl-a71012c03ef6a7cbfba69bcafb559fa417c49af0.tar.bz2
gnurl-a71012c03ef6a7cbfba69bcafb559fa417c49af0.zip
code: style updates
Diffstat (limited to 'lib/multi.c')
-rw-r--r--lib/multi.c4
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)