From 0f8cbf244a345c23855d7f30a1cc4c206e3e4bbb Mon Sep 17 00:00:00 2001 From: don Date: Mon, 30 May 2011 15:57:39 +0000 Subject: [PATCH] Only indicate that the cache is being invalidated when in debug mode (Closes: #622230) --- debian/changelog | 7 +++++++ nscd.c | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index ea0685e..0edf035 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +unscd (0.47-3) unstable; urgency=low + + * Only indicate that the cache is being invalidated when in debug mode + (Closes: #622230) + + -- Don Armstrong Mon, 30 May 2011 08:56:33 -0700 + unscd (0.47-2) unstable; urgency=low * Remove the Provides: nscd as a workaround for (Closes: #606588) to diff --git a/nscd.c b/nscd.c index 29494ff..1af5b7a 100644 --- a/nscd.c +++ b/nscd.c @@ -2389,7 +2389,9 @@ static void special_op(const char *arg) reqdata.req.key_len = arg_len; memcpy(reqdata.arg, arg, arg_len); xfull_write(sock, &reqdata, arg_len + sizeof(ureq)); - printf("sent invalidate(%s) request, exiting\n", arg); + if (debug) { + printf("sent invalidate(%s) request, exiting\n", arg); + } } exit(0); } -- 2.39.2