From 78247256ce74a06d7db681a51213469a62c303a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Thu, 8 Sep 2011 17:47:49 +0200 Subject: [PATCH] Bug #477: Small change in error string generation --- src/authm/AuthManager.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/authm/AuthManager.cc b/src/authm/AuthManager.cc index aeb40d0ba1..8ed3a16b9b 100644 --- a/src/authm/AuthManager.cc +++ b/src/authm/AuthManager.cc @@ -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();