From 9c33028df8c410427dae556163a1668b26d8d02c Mon Sep 17 00:00:00 2001 From: chatty Date: Tue, 10 May 1994 10:00:48 +0000 Subject: MsgBuffer -> IOS --- comm/OLD/PortServerReq.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'comm') diff --git a/comm/OLD/PortServerReq.cc b/comm/OLD/PortServerReq.cc index 5628408..339bb32 100644 --- a/comm/OLD/PortServerReq.cc +++ b/comm/OLD/PortServerReq.cc @@ -13,6 +13,7 @@ */ #include "PortServerReq.h" +#include "Channel.h" UchPortServerReq :: UchPortServerReq () : UchMessage (), @@ -47,14 +48,14 @@ UchPortServerReq :: ~UchPortServerReq () } void -UchPortServerReq :: ReadFrom (UchMsgBuffer& b, lword) +UchPortServerReq :: ReadFrom (UchIOS& b, lword) { - b >> Type >> Host >> Port >> Ident; - Key = b.BufLength () ? (const char*) b.Buffer () : 0; + b >> Type >> Host >> Port >> Ident >> Key; +// Key = b.BufLength () ? (const char*) b.Buffer () : 0; } void -UchPortServerReq :: WriteTo (UchMsgBuffer& b) +UchPortServerReq :: WriteTo (UchIOS& b) { - b << Type << Host << Port << Ident << (char*) Key; + b << Type << Host << Port << Ident << Key; } -- cgit v1.1