Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Sunxi Tools
Commits
c62b4603
Commit
c62b4603
authored
May 04, 2012
by
Alejandro Mery
Browse files
script: accept empty string entries
parent
33d67b72
Changes
1
Hide whitespace changes
Inline
Side-by-side
script.c
View file @
c62b4603
...
...
@@ -193,7 +193,7 @@ struct script_string_entry *script_string_entry_append(struct script *script,
assert
(
script
);
assert
(
!
list_empty
(
&
script
->
sections
));
assert
(
name
&&
*
name
);
assert
(
name
);
assert
(
s
);
if
((
entry
=
malloc
(
sizeof
(
*
entry
)
+
l
+
1
)))
{
...
...
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