summaryrefslogtreecommitdiff
path: root/comm/MsgStream.cc
diff options
context:
space:
mode:
authorchatty1993-11-29 10:37:56 +0000
committerchatty1993-11-29 10:37:56 +0000
commit2c228992a758c00cebc6d6899f1c4fcc0a8fa3d0 (patch)
treef3fb8c8bd53888bfc794be763c90dc94eedc4558 /comm/MsgStream.cc
parent4a99b484b2d29c9f7cf2c6fcd315b1c849298042 (diff)
downloadivy-league-2c228992a758c00cebc6d6899f1c4fcc0a8fa3d0.zip
ivy-league-2c228992a758c00cebc6d6899f1c4fcc0a8fa3d0.tar.gz
ivy-league-2c228992a758c00cebc6d6899f1c4fcc0a8fa3d0.tar.bz2
ivy-league-2c228992a758c00cebc6d6899f1c4fcc0a8fa3d0.tar.xz
Changed syntax of UchMsgBuffer::Get
Diffstat (limited to 'comm/MsgStream.cc')
-rw-r--r--comm/MsgStream.cc4
1 files changed, 2 insertions, 2 deletions
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}.