From 5e7fbbcce89a63aeac198063fa1c8922b0b1f64c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20Luis=20Sanmart=C3=ADn=20Rozada?= Date: Thu, 19 Jun 2014 00:35:02 +0200 Subject: [PATCH] Fix the conversion of time option in PUTNOTIF from timestamp to cdtime_t --- src/utils_cmd_putnotif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils_cmd_putnotif.c b/src/utils_cmd_putnotif.c index 5a9faff2..3496ca93 100644 --- a/src/utils_cmd_putnotif.c +++ b/src/utils_cmd_putnotif.c @@ -55,7 +55,7 @@ static int set_option_time (notification_t *n, const char *value) if (tmp <= 0) return (-1); - n->time = tmp; + n->time = TIME_T_TO_CDTIME_T(tmp); return (0); } /* int set_option_time */ -- 2.30.2