commit 727f9a6c45ab331f21149729d56e05345c5e9a45 parent de1473037c6aa36801fdc84c26ad912715cd5a1c Author: sin <sin@2f30.org> Date: Mon, 7 Jul 2014 09:39:15 +0100 No need to explicitly remove '\n' Diffstat:
M | crond.c | | | 2 | -- |
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/crond.c b/crond.c @@ -270,8 +270,6 @@ loadentries(void) p = line; if (line[0] == '#' || line[0] == '\n' || line[0] == '\0') continue; - if(line[len - 1] == '\n') - line[--len] = '\0'; cte = emalloc(sizeof(*cte));