From b68a5faf26322c008b6cb956473557bf9fca62a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Wed, 3 Feb 2016 18:30:26 +0100 Subject: [PATCH] Feature #4215: RM failure message style Fix missing white spaces in some cases --- src/rm/Request.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/rm/Request.cc b/src/rm/Request.cc index e3a9accb90..ebd40fcd26 100644 --- a/src/rm/Request.cc +++ b/src/rm/Request.cc @@ -599,7 +599,7 @@ void Request::failure_response(ErrorCode ec, RequestAttributes& att) obname = object_name(att.resp_obj); } - oss << "[" << method_name << "]"; + oss << "[" << method_name << "] "; switch(ec) { @@ -607,7 +607,7 @@ void Request::failure_response(ErrorCode ec, RequestAttributes& att) return; case AUTHORIZATION: - oss << " User [" << att.uid << "] "; + oss << "User [" << att.uid << "] "; if (att.resp_msg.empty()) { @@ -620,7 +620,7 @@ void Request::failure_response(ErrorCode ec, RequestAttributes& att) break; case AUTHENTICATION: - oss << " User couldn't be authenticated, aborting call."; + oss << "User couldn't be authenticated, aborting call."; break; case ACTION: @@ -630,7 +630,7 @@ void Request::failure_response(ErrorCode ec, RequestAttributes& att) break; case NO_EXISTS: - oss << " Error getting " << obname; + oss << "Error getting " << obname; if ( att.resp_id != -1 ) {