aboutsummaryrefslogtreecommitdiff
path: root/vnc.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-24 15:17:57 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-24 15:17:57 +0000
commit234c9bcd7ac8178da88a74e5f35474dccdf7141f (patch)
treebbec02f77d8f54b94d1f57b2f8ef98359a4f2766 /vnc.c
parent547012f495f53ee48231e2c3e550e073344180d6 (diff)
downloadqemu-234c9bcd7ac8178da88a74e5f35474dccdf7141f.zip
qemu-234c9bcd7ac8178da88a74e5f35474dccdf7141f.tar.gz
qemu-234c9bcd7ac8178da88a74e5f35474dccdf7141f.tar.bz2
Fix compiler warning when _VNC_DEBUG isn't defined.
Signed-off-by: Thiemo Seufer <ths@networkno.de> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5312 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vnc.c')
-rw-r--r--vnc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnc.c b/vnc.c
index 45dc268..266460f 100644
--- a/vnc.c
+++ b/vnc.c
@@ -1610,7 +1610,7 @@ static int vnc_tls_initialize(void)
if (gnutls_dh_params_generate2 (dh_params, DH_BITS) < 0)
return 0;
-#if _VNC_DEBUG == 2
+#if defined(_VNC_DEBUG) && _VNC_DEBUG >= 2
gnutls_global_set_log_level(10);
gnutls_global_set_log_function(vnc_debug_gnutls_log);
#endif