whitespace

This commit is contained in:
Viktor Szakats 2025-02-28 18:04:29 +01:00
parent 290f9eb3a8
commit 8d5f45b99d
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201
4 changed files with 6 additions and 6 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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");