summaryrefslogtreecommitdiffstats
path: root/libxrdp/libxrdp.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2016-03-14 17:04:08 -0700
committerJay Sorg <jay.sorg@gmail.com>2016-03-14 17:04:08 -0700
commit38241f2a0bd8909815cce67adb56d29619b19ad1 (patch)
tree0492997b6ec068f5d5abef4a113855a021d231df /libxrdp/libxrdp.c
parent73935792058af2664ebb59108ba6b3fed8e8fcc0 (diff)
downloadxrdp-proprietary-38241f2a0bd8909815cce67adb56d29619b19ad1.tar.gz
xrdp-proprietary-38241f2a0bd8909815cce67adb56d29619b19ad1.zip
Fix all format warnings and some unused variable warnings
Diffstat (limited to 'libxrdp/libxrdp.c')
-rw-r--r--libxrdp/libxrdp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libxrdp/libxrdp.c b/libxrdp/libxrdp.c
index a823bfdf..0015f26b 100644
--- a/libxrdp/libxrdp.c
+++ b/libxrdp/libxrdp.c
@@ -253,8 +253,8 @@ libxrdp_process_data(struct xrdp_session *session, struct stream *s)
{
/*This situation can happen and this is a workaround*/
cont = 0;
- g_writeln("Serious programming error we were locked in a deadly loop") ;
- g_writeln("remaining :%d", s->end - s->next_packet);
+ g_writeln("Serious programming error: we were locked in a deadly loop");
+ g_writeln("Remaining: %d", (int) (s->end - s->next_packet));
s->next_packet = 0;
}
@@ -1298,7 +1298,6 @@ libxrdp_fastpath_send_surface(struct xrdp_session *session,
struct stream ls;
struct stream *s;
struct xrdp_rdp *rdp;
- int rv;
int sec_bytes;
int rdp_bytes;
int max_bytes;