fixed use of nill piiu pointer

This commit is contained in:
Jeff Hill
2000-10-12 00:22:54 +00:00
parent 6742c4db06
commit 7c58404cb6
+7 -5
View File
@@ -328,12 +328,14 @@ void nciu::connect ( unsigned nativeType,
return;
}
this->lockPIIU ();
bool v41Ok = this->piiu->ca_v41_ok ();
this->unlockPIIU ();
this->lock ();
bool v41Ok;
if ( this->piiu ) {
v41Ok = this->piiu->ca_v41_ok ();
}
else {
v41Ok = false;
}
this->typeCode = nativeType;
this->count = nativeCount;
this->sid = sidIn;