timekeeper

[Abandoned unfinished] CGI web application in C for time tracking. (My first, just a learning project)
Log | Files | Refs | README

commit 78f083f11c640b6c52f9d379d6b858f871e09eba
parent 88dbd3a3ff4dd6b39109bbb5ef49394fb995a0d9
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Mon, 11 Mar 2024 01:21:48 -0700

Remove some debug logging

This was useful when writing these functions, but now it's just
distracting.

Diffstat:
Mpages/main.c | 2--
Mtimes.c | 1-
2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/pages/main.c b/pages/main.c @@ -47,8 +47,6 @@ printhours(struct pagedata *pd, time_t *times, int len) breaktime = times[BreakEndTime] - times[BreakStartTime]; elapsed = ((to ? to : time(NULL)) - from) - breaktime; - kutil_info(&pd->req, NULL, "printhours: from %lld, to %lld, elapsed %lld, len %d", - from, to, elapsed, len); assert(elapsed >= 0); mn = elapsed / 60; diff --git a/times.c b/times.c @@ -88,7 +88,6 @@ gettimes(struct pagedata *pd, char *hash, size_t *relem) assert(r->ps[0].type == SQLBOX_PARM_INT || r->ps[0].type == SQLBOX_PARM_NULL); times[i] = (r->ps[0].type == SQLBOX_PARM_NULL) ? 0 : r->ps[0].iparm; - kutil_info(NULL, NULL, "(%zu)time[%zu] = %lld", *relem, i, times[i]); } assert(r);