summaryrefslogtreecommitdiff
path: root/comm/OLD/PortServer.cc
diff options
context:
space:
mode:
authorchatty1993-11-29 11:01:58 +0000
committerchatty1993-11-29 11:01:58 +0000
commit86bc9bfd4d2915bc50999437619346b9c2114a43 (patch)
treeb8256fcf83a19abbe808f746acd01dd0f668a500 /comm/OLD/PortServer.cc
parent9618da1bb3f4130268dba646af0ec7614d8cd085 (diff)
downloadivy-league-86bc9bfd4d2915bc50999437619346b9c2114a43.zip
ivy-league-86bc9bfd4d2915bc50999437619346b9c2114a43.tar.gz
ivy-league-86bc9bfd4d2915bc50999437619346b9c2114a43.tar.bz2
ivy-league-86bc9bfd4d2915bc50999437619346b9c2114a43.tar.xz
Changed syntax of UchMsgBuffer::Get
Diffstat (limited to 'comm/OLD/PortServer.cc')
-rw-r--r--comm/OLD/PortServer.cc6
1 files changed, 3 insertions, 3 deletions
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);