aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/hiperfifo.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-04-03 22:51:52 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-04-03 22:52:34 +0200
commit6ddab23fb1e27e0ea938c8ec448f620295149c9d (patch)
tree3207247960bdd4e151434c33f896bd66110f125a /docs/examples/hiperfifo.c
parent3d94a113e90af20b1b894dc931d4422fea405490 (diff)
docs/examples: remove spurious white spaces all over
... to please the new, slightly picker, checksrc.pl
Diffstat (limited to 'docs/examples/hiperfifo.c')
-rw-r--r--docs/examples/hiperfifo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/examples/hiperfifo.c b/docs/examples/hiperfifo.c
index 9b2cfb587..98bcafe6d 100644
--- a/docs/examples/hiperfifo.c
+++ b/docs/examples/hiperfifo.c
@@ -191,7 +191,7 @@ static void event_cb(int fd, short kind, void *userp)
mcode_or_die("event_cb: curl_multi_socket_action", rc);
check_multi_info(g);
- if(g->still_running <= 0 ) {
+ if(g->still_running <= 0) {
fprintf(MSG_OUT, "last transfer done, kill timeout\n");
if(evtimer_pending(g->timer_event, NULL)) {
evtimer_del(g->timer_event);
@@ -312,7 +312,7 @@ static int prog_cb (void *p, double dltotal, double dlnow, double ult,
/* Create a new easy handle, and add it to the global curl_multi */
-static void new_conn(char *url, GlobalInfo *g )
+static void new_conn(char *url, GlobalInfo *g)
{
ConnInfo *conn;
CURLMcode rc;
@@ -360,7 +360,7 @@ static void fifo_cb(int fd, short event, void *arg)
s[0]='\0';
rv=fscanf(g->input, "%1023s%n", s, &n);
s[n]='\0';
- if(n && s[0] ) {
+ if(n && s[0]) {
new_conn(s, arg); /* if we read a URL, go get it! */
}
else