diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2007-06-17 11:41:27 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2007-06-17 11:41:27 +0200 |
commit | 68d456507035555516a5b586303ea166ac9b5c40 (patch) | |
tree | 09d3e498495c7f2c5a04c284b42ab673bc3adad5 /inotail.c | |
parent | 06da83bc3a969c18ee99aa1b3ea511bf4c3763ff (diff) |
inotail.c: Cleanup comments
Diffstat (limited to 'inotail.c')
-rw-r--r-- | inotail.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); |