Skip to content

Commit

Permalink
Silence overly verbose debug messages in cond_set/clear/update
Browse files Browse the repository at this point in the history
These functions call other functions that log more detailed information.

Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Feb 11, 2025
1 parent 6b9aa21 commit 4b06e1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cond-w.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ int cond_update(const char *name)
svc_t *svc, *iter = NULL;
int affects = 0;

dbg("%s", name);
// dbg("%s", name);
for (svc = svc_iterator(&iter, 1); svc; svc = svc_iterator(&iter, 0)) {
if (!svc_has_cond(svc) || !cond_affects(name, svc->cond))
continue;
Expand Down Expand Up @@ -321,7 +321,7 @@ int cond_set_noupdate(const char *name)

void cond_set(const char *name)
{
dbg("%s", name);
// dbg("%s", name);
if (cond_set_noupdate(name))
return;

Expand Down Expand Up @@ -372,7 +372,7 @@ int cond_clear_noupdate(const char *name)

void cond_clear(const char *name)
{
dbg("%s", name);
// dbg("%s", name);
if (cond_clear_noupdate(name))
return;

Expand Down

0 comments on commit 4b06e1a

Please sign in to comment.