diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2007-05-23 19:35:15 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2007-05-23 19:35:15 +0200 |
commit | 9d114f58550b7fd582d1328e95592deca6012f95 (patch) | |
tree | 138a41a58e53dfb6b28dc32bd41a02019c2ab891 /inotail.c | |
parent | 18244146721e33ff0307cdddec3024cc4a1f91e4 (diff) |
inotail.c: Coding style cleanups
Diffstat (limited to 'inotail.c')
-rw-r--r-- | inotail.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; } |