exp passed to assert must not change the state of the data structures
This commit is contained in:
@@ -511,7 +511,10 @@ void ca_repeater ()
|
||||
|
||||
pBuf = new char [MAX_UDP_RECV];
|
||||
|
||||
assert ( osiSockAttach() );
|
||||
{
|
||||
bool success = osiSockAttach();
|
||||
assert ( success );
|
||||
}
|
||||
|
||||
port = envGetInetPortConfigParam ( & EPICS_CA_REPEATER_PORT,
|
||||
static_cast <unsigned short> (CA_REPEATER_PORT) );
|
||||
|
||||
Reference in New Issue
Block a user