FACT++  1.0
bool ConnectionBias::CheckMessageLength ( int  received,
int  expected,
const string &  msg 
)
inlineprivate

Definition at line 134 of file biasctrl.cc.

References Error(), and str.

135  {
136  if (received==expected)
137  return true;
138 
139  ostringstream str;
140  str << msg << ": Expected " << expected << " bytes in answer, but got " << received << endl;
141  Error(str);
142 
143  return false;
144  }
int received
char str[80]
Definition: test_client.c:7
int Error(const std::string &str)
Definition: MessageImp.h:49

+ Here is the call graph for this function: