summaryrefslogtreecommitdiffstats
path: root/xup
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2015-11-02 17:54:16 -0800
committerJay Sorg <jay.sorg@gmail.com>2015-11-02 17:54:16 -0800
commitd59d672f550579774a86b000b3c91ef959e6a5c1 (patch)
treeedb4f2898c79a0c53d30812c9833ec7294956597 /xup
parent5f16481feba464439896114986375a805d993e9b (diff)
downloadxrdp-proprietary-d59d672f550579774a86b000b3c91ef959e6a5c1.tar.gz
xrdp-proprietary-d59d672f550579774a86b000b3c91ef959e6a5c1.zip
xup: no logic change, add logging
Diffstat (limited to 'xup')
-rw-r--r--xup/xup.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/xup/xup.c b/xup/xup.c
index 77081fea..1d92fa60 100644
--- a/xup/xup.c
+++ b/xup/xup.c
@@ -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 */
{