summaryrefslogtreecommitdiff
path: root/comm/OLD/PortServer.cc
diff options
context:
space:
mode:
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);