Make dbChannel_create() call dbChannelOpen()

This commit is contained in:
Andrew Johnson
2012-04-27 13:21:43 -04:00
committed by Michael Davidsaver
parent b4dbcf2b1a
commit 1d274aba0d
2 changed files with 6 additions and 6 deletions
-6
View File
@@ -109,12 +109,6 @@ cacChannel & dbContext::createChannel ( // X aCC 361
throw cacChannel::unsupportedByService ();
}
long status = dbChannelOpen ( dbch );
if (status) {
dbChannelDelete ( dbch );
throw cacChannel::notConnected ();
}
try {
return * new ( this->dbChannelIOFreeList )
dbChannelIO ( this->mutex, notifyIn, dbch, *this );