/*
* 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
* ---
*
* rdsched.c: Read update schedule
- *
+ *
* Known contributors to this file:
* Markus Armbruster, 2007-2008
*/
* 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
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;
}