diff options
author | chatty | 1993-11-29 10:37:56 +0000 |
---|---|---|
committer | chatty | 1993-11-29 10:37:56 +0000 |
commit | 2c228992a758c00cebc6d6899f1c4fcc0a8fa3d0 (patch) | |
tree | f3fb8c8bd53888bfc794be763c90dc94eedc4558 /comm | |
parent | 4a99b484b2d29c9f7cf2c6fcd315b1c849298042 (diff) | |
download | ivy-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')
-rw-r--r-- | comm/MsgStream.cc | 4 |
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}. |