1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-29 04:25:55 -04:00

Fix: Corrected formating

This commit is contained in:
Philipp Schafft 2020-10-15 13:54:40 +00:00
parent 5f3efe5d52
commit 726bef6d81
2 changed files with 9 additions and 9 deletions

View File

@ -52,10 +52,10 @@ struct acl_tag {
/* some string util functions */ /* some string util functions */
static inline void __skip_spaces(const char **str) static inline void __skip_spaces(const char **str)
{ {
register const char * p; register const char * p;
for (p = *str; *p == ' '; p++); for (p = *str; *p == ' '; p++);
*str = p; *str = p;
} }
int acl_set_ANY_str(acl_t *acl, int acl_set_ANY_str(acl_t *acl,

View File

@ -22,12 +22,12 @@
#include "cfgfile.h" #include "cfgfile.h"
typedef enum acl_policy_tag { typedef enum acl_policy_tag {
/* Error on function call */ /* Error on function call */
ACL_POLICY_ERROR = -1, ACL_POLICY_ERROR = -1,
/* Client is allowed to do operation, go ahead! */ /* Client is allowed to do operation, go ahead! */
ACL_POLICY_ALLOW = 0, ACL_POLICY_ALLOW = 0,
/* Client is not allowed to do so, send error! */ /* Client is not allowed to do so, send error! */
ACL_POLICY_DENY = 1 ACL_POLICY_DENY = 1
} acl_policy_t; } acl_policy_t;