X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=snooze.c;h=f37c42ac2a386453b9db812c59e97aa8d0dea0ed;hb=0f5eae045db3c1c146ebdf62eac77a10c2255baf;hp=0c49e240b5dc14823a44beda72882b9660c0baa2;hpb=f8d0a870a9eaa2faaf11b7ebf947da9714976518;p=user%2Fhenk%2Fcode%2Fsnooze.git diff --git a/snooze.c b/snooze.c index 0c49e24..f37c42a 100644 --- a/snooze.c +++ b/snooze.c @@ -1,16 +1,11 @@ /* * snooze - run a command at a particular time * - * To the extent possible under law, - * Christian Neukirchen + * To the extent possible under law, Leah Neukirchen * has waived all copyright and related or neighboring rights to this work. * http://creativecommons.org/publicdomain/zero/1.0/ */ -/* -##% gcc -Os -Wall -g -o $STEM $FILE -Wextra -Wwrite-strings -*/ - #include #include @@ -190,7 +185,7 @@ next_day: tm->tm_hour = 0; t = mktime(tm); - if (t > from+(365*24*60*60)) // no result within a year + if (t > from+(366*24*60*60)) // no result within a year return -1; }