diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-02-02 15:58:38 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-02-02 15:58:38 +0000 |
commit | ec8dbffba4bbb4da5ffe1466091e58fe938a6b92 (patch) | |
tree | 2dc9202fb810e3bb2b273ef840a5525bfeed9c7f /vnc.c | |
parent | 754da14124fd36b4a2644ababd43b0a1c8c5f335 (diff) | |
download | qemu-ec8dbffba4bbb4da5ffe1466091e58fe938a6b92.tar.gz qemu-ec8dbffba4bbb4da5ffe1466091e58fe938a6b92.tar.bz2 qemu-ec8dbffba4bbb4da5ffe1466091e58fe938a6b92.zip |
Fix invalid #if in vnc.c when debugging is enabled (Alexander Graf)
While running with debugging enabled, I found an #if testing for
an undefined value, not defined(value). This patch fixes that.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6495 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vnc.c')
-rw-r--r-- | vnc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ #ifdef _VNC_DEBUG #define VNC_DEBUG(fmt, ...) do { fprintf(stderr, fmt, ## __VA_ARGS__); } while (0) -#if CONFIG_VNC_TLS && _VNC_DEBUG >= 2 +#if defined(CONFIG_VNC_TLS) && _VNC_DEBUG >= 2 /* Very verbose, so only enabled for _VNC_DEBUG >= 2 */ static void vnc_debug_gnutls_log(int level, const char* str) { VNC_DEBUG("%d %s", level, str); |