Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
35d69f68
Commit
35d69f68
authored
Apr 16, 2009
by
Rémi Denis-Courmont
Browse files
Allow empty module name in chain
parent
bc685cdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/config/chain.c
View file @
35d69f68
...
...
@@ -189,10 +189,6 @@ char *config_ChainCreate( char **ppsz_name, config_chain_t **pp_cfg,
/* Look for parameter (a {...} or :...) or end of name (space or nul) */
len
=
strcspn
(
psz_chain
,
"{:
\t
"
);
if
(
len
==
0
)
return
NULL
;
/* Extract the name */
*
ppsz_name
=
strndup
(
psz_chain
,
len
);
psz_chain
+=
len
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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