Browse files

Start at end of file

  • Loading branch information...
1 parent 3f5ab24 commit 0f5682676b6648aba4755f91901b528239bc2ef6 @jordansissel jordansissel committed Aug 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 harvester.c
View
2 harvester.c
@@ -58,7 +58,7 @@ void *harvest(void *arg) {
} else {
fd = open(config->path, O_RDONLY);
/* Start at the end of the file */
- //lseek(fd, 0, SEEK_END);
+ lseek(fd, 0, SEEK_END);
}
insist(fd >= 0, "open(%s) failed: %s", config->path, strerror(errno));
path_len = strlen(config->path);

0 comments on commit 0f56826

Please sign in to comment.