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
e17a15a2
Commit
e17a15a2
authored
Aug 05, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings
parent
17950a15
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
modules/control/http.c
modules/control/http.c
+9
-7
No files found.
modules/control/http.c
View file @
e17a15a2
...
...
@@ -789,7 +789,7 @@ static int ParseDirectory( intf_thread_t *p_intf, char *psz_root,
* var and set handling
****************************************************************************/
static
mvar_t
*
mvar_New
(
c
har
*
name
,
char
*
value
)
static
mvar_t
*
mvar_New
(
c
onst
char
*
name
,
const
char
*
value
)
{
mvar_t
*
v
=
malloc
(
sizeof
(
mvar_t
)
);
...
...
@@ -826,7 +826,7 @@ static void mvar_AppendVar( mvar_t *v, mvar_t *f )
v
->
i_field
++
;
}
static
mvar_t
*
mvar_Duplicate
(
mvar_t
*
v
)
static
mvar_t
*
mvar_Duplicate
(
const
mvar_t
*
v
)
{
int
i
;
mvar_t
*
n
;
...
...
@@ -874,7 +874,7 @@ static void mvar_RemoveVar( mvar_t *v, mvar_t *f )
/* FIXME should do a realloc */
}
static
mvar_t
*
mvar_GetVar
(
mvar_t
*
s
,
char
*
name
)
static
mvar_t
*
mvar_GetVar
(
mvar_t
*
s
,
c
onst
c
har
*
name
)
{
int
i
;
char
base
[
512
],
*
field
,
*
p
;
...
...
@@ -955,13 +955,15 @@ static char *mvar_GetValue( mvar_t *v, char *field )
}
}
static
void
mvar_PushNewVar
(
mvar_t
*
vars
,
char
*
name
,
char
*
value
)
static
void
mvar_PushNewVar
(
mvar_t
*
vars
,
const
char
*
name
,
const
char
*
value
)
{
mvar_t
*
f
=
mvar_New
(
name
,
value
);
mvar_PushVar
(
vars
,
f
);
}
static
void
mvar_AppendNewVar
(
mvar_t
*
vars
,
char
*
name
,
char
*
value
)
static
void
mvar_AppendNewVar
(
mvar_t
*
vars
,
const
char
*
name
,
const
char
*
value
)
{
mvar_t
*
f
=
mvar_New
(
name
,
value
);
mvar_AppendVar
(
vars
,
f
);
...
...
@@ -969,7 +971,7 @@ static void mvar_AppendNewVar( mvar_t *vars, char *name, char *value )
/* arg= start[:stop[:step]],.. */
static
mvar_t
*
mvar_IntegerSetNew
(
c
har
*
name
,
char
*
arg
)
static
mvar_t
*
mvar_IntegerSetNew
(
c
onst
char
*
name
,
const
char
*
arg
)
{
char
*
dup
=
strdup
(
arg
);
char
*
str
=
dup
;
...
...
@@ -3337,7 +3339,7 @@ static void EvaluateRPN( intf_thread_t *p_intf, mvar_t *vars,
else
if
(
!
strcmp
(
s
,
"url_encode"
)
)
{
char
*
url
=
SSPop
(
st
);
char
*
value
,
*
tmp
;
char
*
value
;
url
=
ToUTF8
(
p_intf
,
url
);
value
=
vlc_UrlEncode
(
url
);
...
...
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