optimized out v41ok test

This commit is contained in:
Jeff Hill
2001-07-11 23:25:32 +00:00
parent bab43925ac
commit c285cbfa30
2 changed files with 3 additions and 11 deletions
+1 -9
View File
@@ -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
View File
@@ -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,