From 68d456507035555516a5b586303ea166ac9b5c40 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 17 Jun 2007 11:41:27 +0200 Subject: inotail.c: Cleanup comments --- inotail.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/inotail.c b/inotail.c index aecbc1a..5c96a50 100644 --- a/inotail.c +++ b/inotail.c @@ -344,7 +344,6 @@ static int handle_inotify_event(struct inotify_event *inev, struct file_struct * ignore: ignore_file(f); - return ret; } @@ -381,9 +380,9 @@ static int watch_files(struct file_struct *files, int n_files) len = read(ifd, buf, (n_files * INOTIFY_BUFLEN)); if (unlikely(len < 0)) { - /* Some form of signal, likely ^Z/fg's STOP and CONT interrupted the inotify read, retry */ + /* Some signal, likely ^Z/fg's STOP and CONT interrupted the inotify read, retry */ if (errno == EINTR || errno == EAGAIN) - continue; /* Keep trying */ + continue; else { fprintf(stderr, "Error: Could not read inotify events (%s)\n", strerror(errno)); exit(EXIT_FAILURE); -- cgit v1.2.3-54-g00ecf