optimized out v41ok test
This commit is contained in:
+1
-9
@@ -81,10 +81,8 @@ nciu::~nciu ()
|
||||
}
|
||||
|
||||
void nciu::connect ( unsigned nativeType,
|
||||
unsigned nativeCount, unsigned sidIn )
|
||||
unsigned nativeCount, unsigned sidIn, bool v41Ok )
|
||||
{
|
||||
bool v41Ok;
|
||||
|
||||
if ( ! this->f_claimSent ) {
|
||||
this->cacCtx.printf (
|
||||
"CAC: Ignored conn resp to chan lacking virtual circuit CID=%u SID=%u?\n",
|
||||
@@ -112,12 +110,6 @@ void nciu::connect ( unsigned nativeType,
|
||||
}
|
||||
}
|
||||
|
||||
if ( this->piiu ) {
|
||||
v41Ok = this->piiu->ca_v41_ok ();
|
||||
}
|
||||
else {
|
||||
v41Ok = false;
|
||||
}
|
||||
this->typeCode = static_cast < unsigned short > ( nativeType );
|
||||
this->count = nativeCount;
|
||||
this->sid = sidIn;
|
||||
|
||||
+2
-2
@@ -45,7 +45,7 @@ public:
|
||||
nciu ( cac &, netiiu &,
|
||||
cacChannelNotify &, const char *pNameIn );
|
||||
void connect ( unsigned nativeType,
|
||||
unsigned nativeCount, unsigned sid );
|
||||
unsigned nativeCount, unsigned sid, bool v41Ok );
|
||||
void connect ();
|
||||
void disconnect ( netiiu &newiiu );
|
||||
bool searchMsg ( unsigned short retrySeqNumber,
|
||||
@@ -160,7 +160,7 @@ inline unsigned nciu::getRetrySeqNo () const
|
||||
// this is to only be used by early protocol revisions
|
||||
inline void nciu::connect ()
|
||||
{
|
||||
this->connect ( this->typeCode, this->count, this->sid );
|
||||
this->connect ( this->typeCode, this->count, this->sid, false );
|
||||
}
|
||||
|
||||
inline void nciu::searchReplySetUp ( netiiu &iiu, unsigned sidIn,
|
||||
|
||||
Reference in New Issue
Block a user