1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-02-02 15:07:36 -05:00

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.
This commit is contained in:
Philipp Schafft 2016-06-28 11:56:04 +00:00
parent e75b1a1612
commit 84124c313a

View File

@ -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)";