From 2c228992a758c00cebc6d6899f1c4fcc0a8fa3d0 Mon Sep 17 00:00:00 2001 From: chatty Date: Mon, 29 Nov 1993 10:37:56 +0000 Subject: Changed syntax of UchMsgBuffer::Get --- comm/MsgStream.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'comm/MsgStream.cc') diff --git a/comm/MsgStream.cc b/comm/MsgStream.cc index 07cb5c1..2f6f741 100644 --- a/comm/MsgStream.cc +++ b/comm/MsgStream.cc @@ -222,7 +222,7 @@ DBG (printf ("ProcessInput: ");) switch (State) { case WAITING: DBG (printf ("WAITING\n");) - buf.Get ((byte*) &InType); + buf.Get (InType); DBG (if (buf.Error ()) printf (" buf empty\n");) if (buf.Error ()) return; @@ -339,7 +339,7 @@ UchMsgStream :: HandleSelect () /*? This virtual function is called whenever a complete message is in the buffer. -The buffer contains exactly one message, so that you can use \com{buf.Get(&msg)} +The buffer contains exactly one message, so that you can use \com{buf.Get (msg)} to extract the message from the buffer. \var{ask} is TRUE if the message was sent with \fun{Ask}. In this case an answer must be sent back with \fun{Reply}. -- cgit v1.1