]> git.sesse.net Git - rdpsrv/blobdiff - rdp.c
Handle some control PDUs.
[rdpsrv] / rdp.c
diff --git a/rdp.c b/rdp.c
index 4ea369807335fc929a60c15ee8037b632c2a41ef..49ff6a9722394fee3cb0f3cc3a7fe1787dd26a54 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;
@@ -287,7 +287,7 @@ rdp_get_logon_info(STREAM s)
 }
 
 /* Send a control PDU */
-static void
+void
 rdp_send_control(uint16 action)
 {
        STREAM s;
@@ -303,7 +303,7 @@ rdp_send_control(uint16 action)
 }
 
 /* Send a synchronisation PDU */
-static void
+void
 rdp_send_synchronise(void)
 {
        STREAM s;