Bugfixes for compiling with -DDEBUG

This commit is contained in:
Ralph Lange
2004-02-03 13:42:42 +00:00
parent 2a8a75fdc9
commit 429a135265
6 changed files with 36 additions and 28 deletions

View File

@@ -429,11 +429,11 @@ void cac::beaconNotify ( const inetAddrID & addr, const epicsTime & currentTime,
this->pudpiiu->beaconAnomalyNotify ( guard, currentTime );
# if DEBUG
# ifdef DEBUG
{
char buf[64];
ipAddrToDottedIP (pnet_addr, buf, sizeof ( buf ) );
printf ("new server available: %s\n", buf);
char buf[128];
addr.name ( buf, sizeof ( buf ) );
printf ( guard, "New server available: %s\n", buf );
}
# endif
}