made bind routine more fault tollarant
This commit is contained in:
1 parent
49a79bf8fb
commit
56c0dbc4b2
1 file changed
+4
-2
+4
-2
@@ -44,7 +44,9 @@ inline tcpiiu *bhe::getIIU ()const
|
||||
|
||||
inline void bhe::bindToIIU ( tcpiiu &iiuIn )
|
||||
{
|
||||
assert ( this->piiu == 0 );
|
||||
this->piiu = &iiuIn;
|
||||
if ( this->piiu != &iiuIn ) {
|
||||
assert ( this->piiu == 0 );
|
||||
this->piiu = &iiuIn;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user