]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
examples: use return according to code style
authorDaniel Stenberg <daniel@haxx.se>
Mon, 13 Jan 2025 07:24:00 +0000 (08:24 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 13 Jan 2025 08:10:58 +0000 (09:10 +0100)
docs/examples/evhiperfifo.c
docs/examples/hiperfifo.c

index fc320dc252961af08e876f4fa1968f92324c8285..a96687e8388120ede7f4fde69883dd3cef85c609 100644 (file)
@@ -424,7 +424,7 @@ static int init_fifo(GlobalInfo *g)
   fprintf(MSG_OUT, "Now, pipe some URL's into > %s\n", fifo);
   ev_io_init(&g->fifo_event, fifo_cb, sockfd, EV_READ);
   ev_io_start(g->loop, &g->fifo_event);
-  return (0);
+  return 0;
 }
 
 int main(int argc, char **argv)
index 36d9b40e7eb2f5795bba7f47fa6cb48099c85e0f..d9c00b811d7f819bac9f97d8ce298017ceafe03e 100644 (file)
@@ -422,7 +422,7 @@ static int init_fifo(GlobalInfo *g)
   event_assign(&g->fifo_event, g->evbase, sockfd, EV_READ|EV_PERSIST,
                fifo_cb, g);
   event_add(&g->fifo_event, NULL);
-  return (0);
+  return 0;
 }
 
 static void clean_fifo(GlobalInfo *g)