Commit 84124c31 authored by Philipp Schafft's avatar Philipp Schafft 🦁
Browse files

Update: Added spaces to output of auth_result2str().

This adds spaces into the strings such as "nomatch" (-> "no match")
as returned by auth_result2str(). This is to improve readability of
resulting logfiles by most uses.
parent e75b1a16
...@@ -80,16 +80,16 @@ static const char *auth_result2str(auth_result res) ...@@ -80,16 +80,16 @@ static const char *auth_result2str(auth_result res)
return "forbidden"; return "forbidden";
break; break;
case AUTH_NOMATCH: case AUTH_NOMATCH:
return "nomatch"; return "no match";
break; break;
case AUTH_USERADDED: case AUTH_USERADDED:
return "useradded"; return "user added";
break; break;
case AUTH_USEREXISTS: case AUTH_USEREXISTS:
return "userexists"; return "user exists";
break; break;
case AUTH_USERDELETED: case AUTH_USERDELETED:
return "userdeleted"; return "user deleted";
break; break;
default: default:
return "(unknown)"; return "(unknown)";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment