diff options
author | LawrenceK <github@lklyne.co.uk> | 2012-12-20 09:08:14 +0000 |
---|---|---|
committer | LawrenceK <github@lklyne.co.uk> | 2012-12-20 16:21:50 +0000 |
commit | 4c189ec3b488d7fb57966cce23ceb20dfa7a4cae (patch) | |
tree | f50627256ff6d3de2ee27af525da8348b1609da9 /xrdp | |
parent | cc03ff6704f55ac570dc0b5abc7ed1407f086364 (diff) | |
download | xrdp-proprietary-4c189ec3b488d7fb57966cce23ceb20dfa7a4cae.tar.gz xrdp-proprietary-4c189ec3b488d7fb57966cce23ceb20dfa7a4cae.zip |
update/fix some debug log calls and add the test of XRDP_DEBUG to make files so controlled by the autoconf option --enable-xrdpdebug
Diffstat (limited to 'xrdp')
-rw-r--r-- | xrdp/xrdp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xrdp/xrdp.c b/xrdp/xrdp.c index 0da7a101..fb6fd5dd 100644 --- a/xrdp/xrdp.c +++ b/xrdp/xrdp.c @@ -305,6 +305,12 @@ main(int argc, char **argv) g_init("xrdp"); ssl_init(); + + for (test=0;test<argc; test++) + { + DEBUG(("Argument %i - %s",test,argv[test])); + } + /* check compiled endian with actual endian */ test = 1; host_be = !((int)(*(unsigned char *)(&test))); |