Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Icecast-Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ralph Giles
Icecast-Server
Commits
726bef6d
Commit
726bef6d
authored
4 years ago
by
Philipp Schafft
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Corrected formating
parent
5f3efe5d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/acl.c
+3
-3
3 additions, 3 deletions
src/acl.c
src/acl.h
+6
-6
6 additions, 6 deletions
src/acl.h
with
9 additions
and
9 deletions
src/acl.c
+
3
−
3
View file @
726bef6d
...
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
src/acl.h
+
6
−
6
View file @
726bef6d
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment