changed the name of bsdSock{Attach,Release}

This commit is contained in:
Jeff Hill
2000-05-31 22:36:31 +00:00
parent 54b82732d6
commit 4674eccf2d
2 changed files with 5 additions and 5 deletions

View File

@@ -37,7 +37,7 @@ cac::cac () :
}
}
if (!bsdSockAttach()) {
if ( ! osiSockAttach() ) {
throwWithLocation ( caErrorCode (ECA_INTERNAL) );
}
@@ -218,7 +218,7 @@ cac::~cac ()
semMutexDestroy (this->ca_client_lock);
bsdSockRelease ();
osiSockRelease ();
}
void cac::safeDestroyNMIU (unsigned id)

View File

@@ -395,7 +395,7 @@ void epicsShareAPI ca_repeater ()
unsigned short port;
makeSocketReturn msr;
assert (bsdSockAttach());
assert ( osiSockAttach() );
port = envGetInetPortConfigParam ( &EPICS_CA_REPEATER_PORT, CA_REPEATER_PORT );
@@ -407,12 +407,12 @@ void epicsShareAPI ca_repeater ()
* test for server was already started
*/
if ( msr.errNumber == SOCK_EADDRINUSE ) {
bsdSockRelease ();
osiSockRelease ();
exit (0);
}
ca_printf("%s: Unable to create repeater socket because %d=\"%s\" - fatal\n",
__FILE__, msr.errNumber, msr.pErrStr);
bsdSockRelease ();
osiSockRelease ();
exit(0);
}