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

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)
return "forbidden";
break;
case AUTH_NOMATCH:
return "nomatch";
return "no match";
break;
case AUTH_USERADDED:
return "useradded";
return "user added";
break;
case AUTH_USEREXISTS:
return "userexists";
return "user exists";
break;
case AUTH_USERDELETED:
return "userdeleted";
return "user deleted";
break;
default:
return "(unknown)";
......
Markdown is supported
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