From 9d114f58550b7fd582d1328e95592deca6012f95 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 23 May 2007 19:35:15 +0200 Subject: inotail.c: Coding style cleanups --- inotail.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'inotail.c') diff --git a/inotail.c b/inotail.c index 1081aec..4d44145 100644 --- a/inotail.c +++ b/inotail.c @@ -382,7 +382,9 @@ static int watch_files(struct file_struct *files, int n_files) /* Which file has produced the event? */ for (i = 0; i < n_files; i++) { - if (!files[i].ignore && files[i].fd >= 0 && files[i].i_watch == inev->wd) { + if (!files[i].ignore + && files[i].fd >= 0 + && files[i].i_watch == inev->wd) { f = &files[i]; break; } @@ -399,7 +401,6 @@ static int watch_files(struct file_struct *files, int n_files) } close(ifd); - return -1; } -- cgit v1.2.3-54-g00ecf