Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
4963328e
Commit
4963328e
authored
Oct 14, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix HTTP deletion
parent
ac471f21
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
modules/control/http/macro.c
modules/control/http/macro.c
+3
-2
modules/control/http/rpn.c
modules/control/http/rpn.c
+1
-1
No files found.
modules/control/http/macro.c
View file @
4963328e
...
@@ -368,7 +368,8 @@ void E_(MacroDo)( httpd_file_sys_t *p_args,
...
@@ -368,7 +368,8 @@ void E_(MacroDo)( httpd_file_sys_t *p_args,
int
i
;
int
i
;
for
(
i
=
0
;
i
<
i_nb_items
;
i
++
)
for
(
i
=
0
;
i
<
i_nb_items
;
i
++
)
{
{
playlist_LockDelete
(
p_sys
->
p_playlist
,
p_items
[
i
]
);
playlist_LockDeleteAllFromInput
(
p_sys
->
p_playlist
,
p_items
[
i
]
);
msg_Dbg
(
p_intf
,
"requested playlist delete: %d"
,
msg_Dbg
(
p_intf
,
"requested playlist delete: %d"
,
p_items
[
i
]
);
p_items
[
i
]
);
p_items
[
i
]
=
-
1
;
p_items
[
i
]
=
-
1
;
...
@@ -408,7 +409,7 @@ void E_(MacroDo)( httpd_file_sys_t *p_args,
...
@@ -408,7 +409,7 @@ void E_(MacroDo)( httpd_file_sys_t *p_args,
}
}
if
(
j
==
i_nb_items
)
if
(
j
==
i_nb_items
)
{
{
playlist_LockDelete
(
p_sys
->
p_playlist
,
playlist_LockDelete
AllFromInput
(
p_sys
->
p_playlist
,
p_sys
->
p_playlist
->
pp_items
[
i
]
->
p_input
->
i_id
);
p_sys
->
p_playlist
->
pp_items
[
i
]
->
p_input
->
i_id
);
msg_Dbg
(
p_intf
,
"requested playlist delete: %d"
,
msg_Dbg
(
p_intf
,
"requested playlist delete: %d"
,
i
);
i
);
...
...
modules/control/http/rpn.c
View file @
4963328e
...
@@ -869,7 +869,7 @@ void E_(EvaluateRPN)( intf_thread_t *p_intf, mvar_t *vars,
...
@@ -869,7 +869,7 @@ void E_(EvaluateRPN)( intf_thread_t *p_intf, mvar_t *vars,
else
if
(
!
strcmp
(
s
,
"playlist_delete"
)
)
else
if
(
!
strcmp
(
s
,
"playlist_delete"
)
)
{
{
int
i_id
=
E_
(
SSPopN
)(
st
,
vars
);
int
i_id
=
E_
(
SSPopN
)(
st
,
vars
);
playlist_LockDelete
(
p_sys
->
p_playlist
,
i_id
);
playlist_LockDelete
AllFromInput
(
p_sys
->
p_playlist
,
i_id
);
msg_Dbg
(
p_intf
,
"requested playlist delete: %d"
,
i_id
);
msg_Dbg
(
p_intf
,
"requested playlist delete: %d"
,
i_id
);
}
}
else
if
(
!
strcmp
(
s
,
"playlist_move"
)
)
else
if
(
!
strcmp
(
s
,
"playlist_move"
)
)
...
...
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