]> git.pond.sub.org Git - empserver/blob - src/scripts/nightly/patches/All/common_file.c.patch
Fix trailing whitespace
[empserver] / src / scripts / nightly / patches / All / common_file.c.patch
1 diff --git a/src/lib/common/file.c b/src/lib/common/file.c
2 index ae851ae..872c363 100644
3 --- a/src/lib/common/file.c
4 +++ b/src/lib/common/file.c
5 @@ -384,7 +384,7 @@ do_write(struct empfile *ep, void *buf, int id, int count)
6         return -1;
7
8      if (ep->flags & EFF_TYPED) {
9 -       now = ep->flags & EFF_NOTIME ? (time_t)-1 : time(NULL);
10 +       now = ep->flags & EFF_NOTIME ? (time_t)-1 : (time_t)100;
11         for (i = 0; i < count; i++) {
12             /*
13              * TODO Oopses here could be due to bad data corruption.