projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8aa07c7
)
dbus-launch: do not verbose output if build with verbose mode disabled
author
Chengwei Yang
<chengwei.yang@intel.com>
Wed, 26 Jun 2013 12:31:07 +0000
(20:31 +0800)
committer
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Wed, 26 Jun 2013 14:23:35 +0000
(15:23 +0100)
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66068
tools/dbus-launch.c
patch
|
blob
|
history
diff --git
a/tools/dbus-launch.c
b/tools/dbus-launch.c
index
99143a6
..
80e1419
100644
(file)
--- a/
tools/dbus-launch.c
+++ b/
tools/dbus-launch.c
@@
-153,6
+153,7
@@
void
verbose (const char *format,
...)
{
+#ifdef DBUS_ENABLE_VERBOSE_MODE
va_list args;
static int verbose = TRUE;
static int verbose_initted = FALSE;
@@
-177,6
+178,7
@@
verbose (const char *format,
va_start (args, format);
vfprintf (stderr, format, args);
va_end (args);
+#endif /* DBUS_ENABLE_VERBOSE_MODE */
}
static void