]> git.pond.sub.org Git - empserver/blobdiff - src/lib/common/rdsched.c
Update copyright notice
[empserver] / src / lib / common / rdsched.c
index 050549ad2fa4494a389f35e0d8947c7749432870..60ae47410c0bd73c54ab9cb8da6ea6dd0c4990bf 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -26,7 +26,7 @@
  *  ---
  *
  *  rdsched.c: Read update schedule
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007-2008
  */
@@ -57,7 +57,7 @@ static int delete_update(time_t, time_t[], int);
  * Read update schedule from file FNAME.
  * Put the first N-1 updates after T0 into SCHED[] in ascending order,
  * terminated with a zero.
- * Use ANCHOR as initial anchor for anchor-relative times. 
+ * Use ANCHOR as initial anchor for anchor-relative times.
  * Return 0 on success, -1 on failure.
  */
 int
@@ -254,7 +254,8 @@ parse_every(time_t *secs, char *s)
     else
        sscanf(s, " every %u minutes%n", &delta, &nch);
     if (nch < 0)
-       return NULL;    *secs = 60 * delta;
+       return NULL;
+    *secs = 60 * delta;
     return s + nch;
 }