aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/timer.c')
-rw-r--r--lib-src/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/timer.c b/lib-src/timer.c
index 3af3210f7d0..149625f2995 100644
--- a/lib-src/timer.c
+++ b/lib-src/timer.c
@@ -45,7 +45,7 @@ schedule(str)
45 } 45 }
46 *p++ = 0; 46 *p++ = 0;
47 47
48 if ((e.reply_at = getdate(str, NULL)) - time(&now) < 0) { 48 if ((e.reply_at = get_date(str, NULL)) - time(&now) < 0) {
49 (void)fprintf(stderr, "%s: bad time spec: %s%c%s", pname, str, FS, p); 49 (void)fprintf(stderr, "%s: bad time spec: %s%c%s", pname, str, FS, p);
50 return((struct event *)NULL); 50 return((struct event *)NULL);
51 } 51 }