[gnome-keyring/gnome-2-32] [ui] Add extra debug guard around printing of prompt io.
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring/gnome-2-32] [ui] Add extra debug guard around printing of prompt io.
- Date: Tue, 5 Oct 2010 16:05:13 +0000 (UTC)
commit b9d8bddb2418675260f21f0bfb32763b2ccbfad6
Author: Stef Walter <stef memberwebs com>
Date: Tue Oct 5 16:03:37 2010 +0000
[ui] Add extra debug guard around printing of prompt io.
Printing of prompt IO could conceivably contain information that's
sensitive. Added extra guard so the debug printing can only be
turned on with --enable-debug also enabled.
Thanks to Romain Françoise
ui/gku-prompt.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/ui/gku-prompt.c b/ui/gku-prompt.c
index 5af7426..167f219 100644
--- a/ui/gku-prompt.c
+++ b/ui/gku-prompt.c
@@ -41,8 +41,10 @@
#include <sys/wait.h>
+#ifdef _DEBUG
#define DEBUG_PROMPT 0
#define DEBUG_STDERR 0
+#endif
enum {
RESPONDED,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]