From 86bc9bfd4d2915bc50999437619346b9c2114a43 Mon Sep 17 00:00:00 2001 From: chatty Date: Mon, 29 Nov 1993 11:01:58 +0000 Subject: Changed syntax of UchMsgBuffer::Get --- comm/OLD/PortServer.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'comm/OLD/PortServer.cc') diff --git a/comm/OLD/PortServer.cc b/comm/OLD/PortServer.cc index 3c7d0a5..dc4c334 100644 --- a/comm/OLD/PortServer.cc +++ b/comm/OLD/PortServer.cc @@ -169,7 +169,7 @@ PortServerInquireSysError = FALSE; PortServerInquireSysError = TRUE; return 0; } - if (! buf.Get (&req)) { + if (! buf.Get (req)) { Error (ErrWarn, "UchPortServer::Inquire", "could not read answer"); return 0; } @@ -219,7 +219,7 @@ UchPortServer :: Match (const char* key, PortServMatchFun f, int timeout) SysError (ErrWarn, "Match"); break; } - if (! buf.Get (&req)) { + if (! buf.Get (req)) { Error (ErrWarn, "Match", "could not read message"); continue; } @@ -400,7 +400,7 @@ It connects to the port server on the given host (default is local). UchInetAddress* PortServerInquire (const char* service, const char* name, const char* host) { -#if 0 +#if 1 UchPortServer ps (service, (host && *host) ? host : 0); #else UchPortServer ps ("agentman", (host && *host) ? host : 0); -- cgit v1.1