diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2015-11-02 17:54:16 -0800 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2015-11-02 17:54:16 -0800 |
commit | d59d672f550579774a86b000b3c91ef959e6a5c1 (patch) | |
tree | edb4f2898c79a0c53d30812c9833ec7294956597 /xup | |
parent | 5f16481feba464439896114986375a805d993e9b (diff) | |
download | xrdp-proprietary-d59d672f550579774a86b000b3c91ef959e6a5c1.tar.gz xrdp-proprietary-d59d672f550579774a86b000b3c91ef959e6a5c1.zip |
xup: no logic change, add logging
Diffstat (limited to 'xup')
-rw-r--r-- | xup/xup.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -86,6 +86,7 @@ lib_data_in(struct trans *trans) struct stream *s; int len; + LLOGLN(10, ("lib_data_in:")); if (trans == 0) { return 1; @@ -210,6 +211,8 @@ lib_mod_connect(struct mod *mod) error = -1; if (trans_connect(mod->trans, mod->ip, con_port, 3000) == 0) { + LLOGLN(0, ("lib_mod_connect: connected to Xserver" + "(Xorg or X11rdp) sck %d", mod->trans->sck)); error = 0; } @@ -1247,6 +1250,7 @@ lib_mod_process_orders(struct mod *mod, int type, struct stream *s) { int rv; + LLOGLN(10, ("lib_mod_process_orders: type %d", type)); rv = 0; switch (type) { @@ -1384,12 +1388,14 @@ lib_mod_process_message(struct mod *mod, struct stream *s) int type; char *phold; + LLOGLN(10, ("lib_mod_process_message:")); rv = 0; if (rv == 0) { in_uint16_le(s, type); in_uint16_le(s, num_orders); in_uint32_le(s, len); + LLOGLN(10, ("lib_mod_process_message: type %d", type)); if (type == 1) /* original order list */ { |