Fix rdp_recv_input() wrt. pointer misuse.
authorSteinar H. Gunderson <sesse@samfundet.no>
Fri, 4 Feb 2005 12:51:35 +0000 (12:51 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Fri, 4 Feb 2005 12:51:35 +0000 (12:51 +0000)
rdp.c

diff --git a/rdp.c b/rdp.c
index ff302fb..44c57d4 100644 (file)
--- a/rdp.c
+++ b/rdp.c
@@ -264,11 +264,11 @@ rdp_send_synchronise(void)
 void
 rdp_recv_input(STREAM s, uint32 *time, uint16 *message_type, uint16 *device_flags, uint16 *param1, uint16 *param2)
 {
-       in_uint32_le(s, time);
-       in_uint16_le(s, message_type);
-       in_uint16_le(s, device_flags);
-       in_uint16_le(s, param1);
-       in_uint16_le(s, param2);
+       in_uint32_le(s, *time);
+       in_uint16_le(s, *message_type);
+       in_uint16_le(s, *device_flags);
+       in_uint16_le(s, *param1);
+       in_uint16_le(s, *param2);
 }
 
 /* Disconnect from the RDP layer */