mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Fix: Corrected formating
This commit is contained in:
parent
5f3efe5d52
commit
726bef6d81
@ -52,10 +52,10 @@ struct acl_tag {
|
||||
/* some string util functions */
|
||||
static inline void __skip_spaces(const char **str)
|
||||
{
|
||||
register const char * p;
|
||||
register const char * p;
|
||||
|
||||
for (p = *str; *p == ' '; p++);
|
||||
*str = p;
|
||||
for (p = *str; *p == ' '; p++);
|
||||
*str = p;
|
||||
}
|
||||
|
||||
int acl_set_ANY_str(acl_t *acl,
|
||||
|
12
src/acl.h
12
src/acl.h
@ -22,12 +22,12 @@
|
||||
#include "cfgfile.h"
|
||||
|
||||
typedef enum acl_policy_tag {
|
||||
/* Error on function call */
|
||||
ACL_POLICY_ERROR = -1,
|
||||
/* Client is allowed to do operation, go ahead! */
|
||||
ACL_POLICY_ALLOW = 0,
|
||||
/* Client is not allowed to do so, send error! */
|
||||
ACL_POLICY_DENY = 1
|
||||
/* Error on function call */
|
||||
ACL_POLICY_ERROR = -1,
|
||||
/* Client is allowed to do operation, go ahead! */
|
||||
ACL_POLICY_ALLOW = 0,
|
||||
/* Client is not allowed to do so, send error! */
|
||||
ACL_POLICY_DENY = 1
|
||||
} acl_policy_t;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user