From 4e9be5ff156b760e7dab8ce0b7e5e5b6a8209802 Mon Sep 17 00:00:00 2001 From: David Delassus Date: Sun, 30 Oct 2011 18:19:51 +0100 Subject: [PATCH] Fix typo --- src/wmfs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wmfs.c b/src/wmfs.c index 496275c..d896c10 100644 --- a/src/wmfs.c +++ b/src/wmfs.c @@ -270,12 +270,12 @@ wmfs_loop(void) } else if(W->fifo.fd > 0 && FD_ISSET(W->fifo.fd, &iset)) { - if (fifo_read() == 0) + if(fifo_read() == 0) { - close (W->fifo.fd); + close(W->fifo.fd); - if (!(W->fifo.fd = open (W->fifo.path, O_RDONLY | O_NDELAY, 0))) - warnx ("Can't reopen FIFO: %s\n", strerror (errno)); + if(!(W->fifo.fd = open(W->fifo.path, O_RDONLY | O_NDELAY, 0))) + warnx("Can't reopen FIFO: %s\n", strerror(errno)); } } }