diff options
author | volth <volth@webmaster.ms> | 2017-01-04 12:54:55 +0000 |
---|---|---|
committer | volth <volth@webmaster.ms> | 2017-01-04 13:00:01 +0000 |
commit | 37b4a14b5472eaeb1650e915b7b302d1d7d1adf2 (patch) | |
tree | ded23ed187d26cee7572ac5810a0ee3c64ff25c4 /vnc | |
parent | cd8b5f00309874686bca943c62d190f82666adef (diff) | |
download | xrdp-proprietary-37b4a14b5472eaeb1650e915b7b302d1d7d1adf2.tar.gz xrdp-proprietary-37b4a14b5472eaeb1650e915b7b302d1d7d1adf2.zip |
fix build with --enable-xrdpdebug=yes
Diffstat (limited to 'vnc')
-rw-r--r-- | vnc/Makefile.am | 6 | ||||
-rw-r--r-- | vnc/vnc.c | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/vnc/Makefile.am b/vnc/Makefile.am index 453022f4..fc0f8385 100644 --- a/vnc/Makefile.am +++ b/vnc/Makefile.am @@ -5,6 +5,12 @@ AM_CPPFLAGS = \ -DXRDP_PID_PATH=\"${localstatedir}/run\" \ -I$(top_srcdir)/common +if XRDP_DEBUG +AM_CPPFLAGS += -DXRDP_DEBUG +else +AM_CPPFLAGS += -DXRDP_NODEBUG +endif + module_LTLIBRARIES = \ libvnc.la @@ -1388,7 +1388,6 @@ lib_mod_connect(struct vnc *v) trans_delete(v->trans); v->trans = 0; v->server_msg(v, "some problem", 0); - LIB_DEBUG(mod, "out lib_mod_connect error"); return 1; } else |