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
bfbf8a97
Commit
bfbf8a97
authored
Oct 02, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
access_dvb: constify.
parent
4cb13ccc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
modules/access/dvb/dvb.h
modules/access/dvb/dvb.h
+3
-3
modules/access/dvb/http.c
modules/access/dvb/http.c
+2
-2
No files found.
modules/access/dvb/dvb.h
View file @
bfbf8a97
...
...
@@ -132,7 +132,7 @@ static __inline__ void en50221_MMIFree( en50221_mmi_object_t *p_object )
FREENULL
(
p_object
->
u
.
menu
.
psz_bottom
);
for
(
i
=
0
;
i
<
p_object
->
u
.
menu
.
i_choices
;
i
++
)
{
FREENULL
(
p_object
->
u
.
menu
.
ppsz_choices
[
i
]
);
free
(
p_object
->
u
.
menu
.
ppsz_choices
[
i
]
);
}
FREENULL
(
p_object
->
u
.
menu
.
ppsz_choices
);
break
;
...
...
@@ -245,8 +245,8 @@ char *dvbsi_to_utf8( const char *psz_instring, size_t i_length );
#ifdef ENABLE_HTTPD
int
HTTPOpen
(
access_t
*
p_access
);
void
HTTPClose
(
access_t
*
p_access
);
char
*
HTTPExtractValue
(
const
char
*
psz_uri
,
const
char
*
psz_name
,
char
*
psz_value
,
int
i_value_max
);
c
onst
c
har
*
HTTPExtractValue
(
const
char
*
psz_uri
,
const
char
*
psz_name
,
char
*
psz_value
,
int
i_value_max
);
#endif
/*****************************************************************************
* Hacks
...
...
modules/access/dvb/http.c
View file @
bfbf8a97
...
...
@@ -300,10 +300,10 @@ static int HttpCallback( httpd_file_sys_t *p_args,
/****************************************************************************
* HTTPExtractValue: Extract a GET variable from psz_request
****************************************************************************/
char
*
HTTPExtractValue
(
const
char
*
psz_uri
,
const
char
*
psz_name
,
c
onst
c
har
*
HTTPExtractValue
(
const
char
*
psz_uri
,
const
char
*
psz_name
,
char
*
psz_value
,
int
i_value_max
)
{
char
*
p
=
psz_uri
;
c
onst
c
har
*
p
=
psz_uri
;
while
(
(
p
=
strstr
(
p
,
psz_name
))
)
{
...
...
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