whitespace
This commit is contained in:
parent
290f9eb3a8
commit
8d5f45b99d
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user