removed calls to exit() which cause problems on RTEMS where exit() has

different behavior than on vxWorks.
This commit is contained in:
Jeff Hill
2004-09-21 23:56:27 +00:00
parent 694d0401f0
commit 6615cb7fbd

View File

@@ -506,7 +506,7 @@ void ca_repeater ()
if ( SOCKERRNO == SOCK_EADDRINUSE ) {
osiSockRelease ();
debugPrintf ( ( "CA Repeater: exiting because a repeater is already running\n" ) );
exit (0);
return;
}
char sockErrBuf[64];
epicsSocketConvertErrnoToString (
@@ -515,7 +515,7 @@ void ca_repeater ()
__FILE__, sockErrBuf );
osiSockRelease ();
delete [] pBuf;
exit(0);
return;
}
debugPrintf ( ( "CA Repeater: Attached and initialized\n" ) );