summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
authorMarc-André Moreau <marcandre.moreau@gmail.com>2012-12-20 09:56:54 -0800
committerMarc-André Moreau <marcandre.moreau@gmail.com>2012-12-20 09:56:54 -0800
commit6ed3d10096fdf8201bbce9ee0fe3ccacd7afd0b5 (patch)
treeed9e2116acd3498a1c5849f31d3099bd272383a7 /xrdp
parent8ef52fed923a892a5438d2d35eff874b64a9fd39 (diff)
parent4c189ec3b488d7fb57966cce23ceb20dfa7a4cae (diff)
downloadxrdp-proprietary-6ed3d10096fdf8201bbce9ee0fe3ccacd7afd0b5.tar.gz
xrdp-proprietary-6ed3d10096fdf8201bbce9ee0fe3ccacd7afd0b5.zip
Merge pull request #45 from Osirium/patch/debug-logging
update/fix some debug log calls and add the test of XRDP_DEBUG to make f...
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/xrdp.c6
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)));