{
{
- STG_LOCKER(&mutex, __FILE__, __LINE__);
+ STG_LOCKER lock(&mutex, __FILE__, __LINE__);
parent::iterator it(parent::begin());
while (it != parent::end())
uint32_t uip = user->GetCurrIP();
pair<ip2p_iter, ip2p_iter> pi;
-STG_LOCKER(&mutex, __FILE__, __LINE__);
+STG_LOCKER lock(&mutex, __FILE__, __LINE__);
// Find all packets with IP belongs to this user
pi = ip2packets.equal_range(uip);
printfd(__FILE__, "DelUser: %s \n", inet_ntostring(uip).c_str());
pair<ip2p_iter, ip2p_iter> pi;
-STG_LOCKER(&mutex, __FILE__, __LINE__);
+STG_LOCKER lock(&mutex, __FILE__, __LINE__);
pi = ip2packets.equal_range(uip);
while (pi.first != pi.second)