Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
60e01ff5
Commit
60e01ff5
authored
May 20, 2006
by
Jean-Paul Saman
Browse files
Use correct datatype in srtncasecmp
parent
31c99363
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/sgimb.c
View file @
60e01ff5
...
...
@@ -159,14 +159,13 @@ static int Activate( vlc_object_t * p_this )
i_size
-=
sizeof
(
"sgiNameServerHost="
)
-
1
;
if
(
i_size
>
0
)
{
while
(
i_size
&&
strncasecmp
(
p_peek
,
"sgiNameServerHost="
,
sizeof
(
"sgiNameServerHost="
)
-
1
)
)
unsigned
int
i_len
=
sizeof
(
"sgiNameServerHost="
)
-
1
;
while
(
i_size
&&
strncasecmp
(
(
char
*
)
p_peek
,
"sgiNameServerHost="
,
i_len
)
)
{
p_peek
++
;
i_size
--
;
}
if
(
!
strncasecmp
(
p_peek
,
"sgiNameServerHost="
,
sizeof
(
"sgiNameServerHost="
)
-
1
)
)
if
(
!
strncasecmp
(
(
char
*
)
p_peek
,
"sgiNameServerHost="
,
i_len
)
)
{
p_demux
->
pf_demux
=
Demux
;
p_demux
->
pf_control
=
Control
;
...
...
Write
Preview
Supports
Markdown
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