Skip to content
Snippets Groups Projects
Commit 153aa6b1 authored by Guillem Jover's avatar Guillem Jover
Browse files

libdpkg: Move parse_nv() next word check inside else block

If we found a name/value match, and are using a fallback value, then we
will always have a NULL str_end, and the check for trailing junk will
never trigger. This check only makes sense in the else block where
we have checked for any non-space characters after the parsed text.
parent 8b7daaec
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment