Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
1f03f5e7
Commit
1f03f5e7
authored
Jun 28, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused parameter
parent
e9cf1f87
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
modules/control/http/http.h
modules/control/http/http.h
+1
-1
modules/control/http/mvar.c
modules/control/http/mvar.c
+1
-1
modules/control/http/rpn.c
modules/control/http/rpn.c
+1
-1
modules/control/http/util.c
modules/control/http/util.c
+1
-1
No files found.
modules/control/http/http.h
View file @
1f03f5e7
...
...
@@ -108,7 +108,7 @@ int FileLoad( FILE *f, char **pp_data, int *pi_data );
/** This function creates a suitable URL for a filename */
char
*
FileToUrl
(
char
*
name
,
bool
*
pb_index
);
/** This function returns the real path of a file or directory */
char
*
RealPath
(
intf_thread_t
*
p_intf
,
const
char
*
psz_src
);
char
*
RealPath
(
const
char
*
psz_src
);
/** This command parses the "seek" command for the HTTP interface
* and performs the requested action */
...
...
modules/control/http/mvar.c
View file @
1f03f5e7
...
...
@@ -507,7 +507,7 @@ mvar_t *mvar_FileSetNew( intf_thread_t *p_intf, char *name,
mvar_t
*
s
=
mvar_New
(
name
,
"set"
);
char
**
ppsz_dir_content
;
int
i_dir_content
,
i
;
psz_dir
=
RealPath
(
p
_intf
,
p
sz_dir
);
psz_dir
=
RealPath
(
psz_dir
);
#if defined( WIN32 )
if
(
psz_dir
[
0
]
!=
'\0'
&&
(
psz_dir
[
0
]
!=
'\\'
||
psz_dir
[
1
]
!=
'\0'
)
)
...
...
modules/control/http/rpn.c
View file @
1f03f5e7
...
...
@@ -437,7 +437,7 @@ void EvaluateRPN( intf_thread_t *p_intf, mvar_t *vars,
else
if
(
!
strcmp
(
s
,
"realpath"
)
)
{
char
*
psz_src
=
SSPop
(
st
);
char
*
psz_dir
=
RealPath
(
p
_intf
,
p
sz_src
);
char
*
psz_dir
=
RealPath
(
psz_src
);
SSPush
(
st
,
psz_dir
);
free
(
psz_src
);
...
...
modules/control/http/util.c
View file @
1f03f5e7
...
...
@@ -864,7 +864,7 @@ input_item_t *MRLParse( intf_thread_t *p_intf, char *_psz,
/**********************************************************************
* RealPath: parse ../, ~ and path stuff
**********************************************************************/
char
*
RealPath
(
intf_thread_t
*
p_intf
,
const
char
*
psz_src
)
char
*
RealPath
(
const
char
*
psz_src
)
{
char
*
psz_dir
;
char
*
p
;
...
...
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