changes from stephanie

This commit is contained in:
Jeff Hill
2001-04-25 19:59:50 +00:00
parent 90e07a7840
commit 636c028b56
2 changed files with 2 additions and 11 deletions
+1 -11
View File
@@ -148,17 +148,7 @@ void caServerI::removeClient (casStrmClient *pClient)
//
void caServerI::connectCB (casIntfOS &intf)
{
casStreamOS *pNewClient;
try {
pNewClient = intf.newStreamClient (*this);
if (!pNewClient) {
throw S_cas_noMemory;
}
}
catch (...) {
epicsPrintf ("Attempt to create entry for new client failed (C++ exception)\n");
}
intf.newStreamClient (*this);
}
//
+1
View File
@@ -173,6 +173,7 @@ casStreamOS *casIntfIO::newStreamClient(caServerI &cas) const
args.sock = newSock;
pOS = new casStreamOS(cas, args);
if (!pOS) {
errMessage(S_cas_noMemory, "unable to create data structures for a new client");
socket_close(newSock);
}
else {