summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inotail.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/inotail.c b/inotail.c
index 51bb353..731346f 100644
--- a/inotail.c
+++ b/inotail.c
@@ -277,10 +277,9 @@ out:
static int handle_inotify_event(struct inotify_event *inev, struct file_struct *fil, int n_ignored)
{
- off_t offset;
-
if (inev->mask & IN_MODIFY) {
int rc;
+ off_t offset;
char fbuf[BUFFER_SIZE];
struct stat finfo;