1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

bug #695: False timeouts are now checked within the Authmanager

This commit is contained in:
Ruben S. Montero 2011-09-16 18:48:46 +02:00
parent da07254da7
commit f9a4eaf55a

View File

@ -358,7 +358,7 @@ void AuthManager::timer_action()
while ( it !=auth_requests.end())
{
if (the_time > it->second->time_out)
if ((it->second->time_out != 0) && (the_time > it->second->time_out))
{
AuthRequest * ar = it->second;
auth_requests.erase(it++);