scron

simple cron daemon
git clone git://git.2f30.org/scron
Log | Files | Refs | README | LICENSE

commit 3c9ad34eb304f6acca75e80b929e5b61995b4682
parent 7b000772d28f8c2f1cca807b409c17447fc9a548
Author: sin <sin@2f30.org>
Date:   Wed,  2 Jul 2014 16:28:30 +0100

Style fixes

Diffstat:
Mcrond.c | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/crond.c b/crond.c @@ -63,8 +63,10 @@ parsecolumn(char *col, int y, int x) if (*endptr != '\0' || *endptr2 != '\0') { if (dflag == 1) - syslog(LOG_WARNING, "error: %s line %d column %d", config, y+1, x+1); - fprintf(stderr, "error: %s line %d column %d\n", config, y+1, x+1); + syslog(LOG_WARNING, "error: %s line %d column %d", + config, y + 1, x + 1); + fprintf(stderr, "error: %s line %d column %d\n", + config, y + 1, x + 1); return -1; } @@ -73,9 +75,9 @@ parsecolumn(char *col, int y, int x) (value2 != -1 && validfield(x, value2) == 0)) { if (dflag == 1) syslog(LOG_WARNING, "error: %s line %d column %d", - config, y+1, x+1); + config, y + 1, x + 1); fprintf(stderr, "error: %s line %d column %d\n", - config, y+1, x+1); + config, y + 1, x + 1); } t = time(NULL);