From 8d5f45b99d8e6deeccd8319f2b1fed2a03c62a15 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 28 Feb 2025 18:04:29 +0100 Subject: [PATCH] whitespace --- docs/examples/ephiperfifo.c | 4 ++-- docs/examples/evhiperfifo.c | 4 ++-- docs/examples/ghiper.c | 2 +- docs/examples/hiperfifo.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/examples/ephiperfifo.c b/docs/examples/ephiperfifo.c index 3299f05115..5a25429f76 100644 --- a/docs/examples/ephiperfifo.c +++ b/docs/examples/ephiperfifo.c @@ -418,7 +418,7 @@ static int init_fifo(GlobalInfo *g) struct epoll_event epev; fprintf(MSG_OUT, "Creating named pipe \"%s\"\n", fifo); - if(lstat (fifo, &st) == 0) { + if(lstat(fifo, &st) == 0) { if((st.st_mode & S_IFMT) == S_IFREG) { errno = EEXIST; perror("lstat"); @@ -426,7 +426,7 @@ static int init_fifo(GlobalInfo *g) } } unlink(fifo); - if(mkfifo (fifo, 0600) == -1) { + if(mkfifo(fifo, 0600) == -1) { perror("mkfifo"); return 1; } diff --git a/docs/examples/evhiperfifo.c b/docs/examples/evhiperfifo.c index 5c4503d8d5..76a7cde469 100644 --- a/docs/examples/evhiperfifo.c +++ b/docs/examples/evhiperfifo.c @@ -402,7 +402,7 @@ static int init_fifo(GlobalInfo *g) curl_socket_t sockfd; fprintf(MSG_OUT, "Creating named pipe \"%s\"\n", fifo); - if(lstat (fifo, &st) == 0) { + if(lstat(fifo, &st) == 0) { if((st.st_mode & S_IFMT) == S_IFREG) { errno = EEXIST; perror("lstat"); @@ -410,7 +410,7 @@ static int init_fifo(GlobalInfo *g) } } unlink(fifo); - if(mkfifo (fifo, 0600) == -1) { + if(mkfifo(fifo, 0600) == -1) { perror("mkfifo"); return 1; } diff --git a/docs/examples/ghiper.c b/docs/examples/ghiper.c index 5e42e6b5c1..5066ff5adc 100644 --- a/docs/examples/ghiper.c +++ b/docs/examples/ghiper.c @@ -397,7 +397,7 @@ int init_fifo(void) } unlink(fifo); - if(mkfifo (fifo, 0600) == -1) { + if(mkfifo(fifo, 0600) == -1) { perror("mkfifo"); return CURL_SOCKET_BAD; } diff --git a/docs/examples/hiperfifo.c b/docs/examples/hiperfifo.c index 3350ead757..6e96794b60 100644 --- a/docs/examples/hiperfifo.c +++ b/docs/examples/hiperfifo.c @@ -399,7 +399,7 @@ static int init_fifo(GlobalInfo *g) curl_socket_t sockfd; fprintf(MSG_OUT, "Creating named pipe \"%s\"\n", fifo); - if(lstat (fifo, &st) == 0) { + if(lstat(fifo, &st) == 0) { if((st.st_mode & S_IFMT) == S_IFREG) { errno = EEXIST; perror("lstat");