Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
2d025a3b
Commit
2d025a3b
authored
May 27, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetic
parent
2bf6c95c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/control/http/macro.c
modules/control/http/macro.c
+4
-3
No files found.
modules/control/http/macro.c
View file @
2d025a3b
...
@@ -534,12 +534,13 @@ static void MacroDo( httpd_file_sys_t *p_args,
...
@@ -534,12 +534,13 @@ static void MacroDo( httpd_file_sys_t *p_args,
case
MVLC_VLM_NEW
:
case
MVLC_VLM_NEW
:
case
MVLC_VLM_SETUP
:
case
MVLC_VLM_SETUP
:
{
{
static
const
char
*
vlm_properties
[
11
]
=
static
const
char
*
vlm_properties
[]
=
{
{
/* no args */
/* no args */
"enabled"
,
"disabled"
,
"loop"
,
"unloop"
,
"enabled"
,
"disabled"
,
"loop"
,
"unloop"
,
/* args required */
/* args required */
"input"
,
"output"
,
"option"
,
"date"
,
"period"
,
"repeat"
,
"append"
,
"input"
,
"output"
,
"option"
,
"date"
,
"period"
,
"repeat"
,
"append"
,
""
,
};
};
vlm_message_t
*
vlm_answer
;
vlm_message_t
*
vlm_answer
;
char
name
[
512
];
char
name
[
512
];
...
@@ -565,7 +566,7 @@ static void MacroDo( httpd_file_sys_t *p_args,
...
@@ -565,7 +566,7 @@ static void MacroDo( httpd_file_sys_t *p_args,
p
+=
sprintf
(
psz
,
"setup %s"
,
name
);
p
+=
sprintf
(
psz
,
"setup %s"
,
name
);
}
}
/* Parse the request */
/* Parse the request */
for
(
i
=
0
;
i
<
11
;
i
++
)
for
(
i
=
0
;
vlm_properties
[
i
][
0
]
;
i
++
)
{
{
char
val
[
512
];
char
val
[
512
];
ExtractURIValue
(
p_request
,
ExtractURIValue
(
p_request
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment