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

Bug #477: Small change in error string generation

This commit is contained in:
Carlos Martín 2011-09-08 17:47:49 +02:00
parent 45b400a510
commit 78247256ce

View File

@ -442,16 +442,12 @@ void AuthManager::notify_request(int auth_id,bool result,const string& message)
if ( message != "-" )
{
ostringstream oss;
if ( !ar->message.empty() )
{
oss << ar->message << "; ";
ar->message.append("; ");
}
oss << message;
ar->message = oss.str();
ar->message.append(message);
}
ar->notify();