]> git.sesse.net Git - rdpsrv/blobdiff - rdp.c
Remove lots of licensing stuff we didn't need after all.
[rdpsrv] / rdp.c
diff --git a/rdp.c b/rdp.c
index 538e053ae821ea14f089036fd2c40c32aaf4dc02..bcb1bd8c05f445b20b0441ce02d0a040e765603a 100644 (file)
--- a/rdp.c
+++ b/rdp.c
@@ -72,7 +72,7 @@ rdp_recv(uint8 * type)
 
 #if WITH_DEBUG
        DEBUG(("RDP packet #%d, (type %x, length %u)\n", ++g_packetno, *type, length));
-       //hexdump(g_next_packet, length);
+       hexdump(g_next_packet, length);
 #endif /*  */
 
        g_next_packet += length;
@@ -154,7 +154,7 @@ void rdp_send_bitmap_update(unsigned x, unsigned y, unsigned width, unsigned hei
 
        int length = 10*2 + width*height*3 + 5;
 
-       s = rdp5_init(length, 0);
+       s = rdp5_init(length, 1);
 
        out_uint8(s, 1); // process bitmap update
        out_uint16_le(s, 10*2 + width*height*3 + 2); // RDP5 chunk length
@@ -174,7 +174,7 @@ void rdp_send_bitmap_update(unsigned x, unsigned y, unsigned width, unsigned hei
        out_uint8p(s, data, width*height*3);
        
        s_mark_end(s);
-       rdp5_send(s, 0);
+       rdp5_send(s, 1);
 }
 
 #define EXPECT16(value) { in_uint16_le(s, unknown); if (unknown != (value)) printf("Unknown value on code line %u; expected 0x%x, got 0x%x\n", __LINE__, (value), unknown); }