summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ivy/IvyWatcher.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ivy/IvyWatcher.cxx b/Ivy/IvyWatcher.cxx
index 099e670..a363bdc 100644
--- a/Ivy/IvyWatcher.cxx
+++ b/Ivy/IvyWatcher.cxx
@@ -30,7 +30,7 @@ void IvyWatcher::OnReceive(int nErrorCode)
int err;
int version;
char buffer[256];
- string remotehost;
+ String remotehost;
UINT remoteport;
UINT serviceport;
@@ -74,7 +74,7 @@ void IvyWatcher::OnReceive(int nErrorCode)
void IvyWatcher::start(const char *domainlist)
{
BOOL reuse = TRUE;
- string domain;
+ String domain;
UINT port;
// determine domain to use
domain = bus->GetDomain( domainlist );
@@ -93,7 +93,7 @@ void IvyWatcher::start(const char *domainlist)
SetSockOpt( SO_REUSEADDR, &reuse, sizeof(BOOL) );
Bind(port);
- string addr;
+ String addr;
char hello[1024];
int len = sprintf( hello, "%d %u\n", VERSION, bus->GetApplicationPort() );