[evolution-exchange] Do not fill console with empty lines when not have E2K_DEBUG requested
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-exchange] Do not fill console with empty lines when not have E2K_DEBUG requested
- Date: Tue, 15 Dec 2009 13:53:06 +0000 (UTC)
commit 222704e342b802341762d7addbe974b5af23c4c3
Author: Milan Crha <mcrha redhat com>
Date: Tue Dec 15 14:52:07 2009 +0100
Do not fill console with empty lines when not have E2K_DEBUG requested
server/lib/e2k-context.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/server/lib/e2k-context.c b/server/lib/e2k-context.c
index 6e5bc68..2687532 100644
--- a/server/lib/e2k-context.c
+++ b/server/lib/e2k-context.c
@@ -455,6 +455,9 @@ e2k_context_set_auth (E2kContext *ctx, const gchar *username,
G_CALLBACK (setup_message), ctx);
#ifdef E2K_DEBUG
+ if (e2k_debug_level <= 0)
+ return;
+
if (e2k_debug_level < 4)
level = (SoupLoggerLogLevel)e2k_debug_level;
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]