summaryrefslogtreecommitdiff
path: root/src/basic/strv.c
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2015-06-19 16:38:06 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2015-08-07 15:50:42 +0000
commit53f0db71771bf757b6b429525a4e5db3dcf3afef (patch)
tree3e6d260d7220dd3fe2fd71fab44193a7bd9ee6ff /src/basic/strv.c
parent4b1c17535115b70f4ddf4bf5850049b885a40173 (diff)
unquote_first_word: set *p=NULL on termination
To add a flag to allow an empty string to be parsed as an argument, we need to be able to distinguish between the end of the string, and after the end of the string, so when we *do* reach the end, let's set *p to this state.
Diffstat (limited to 'src/basic/strv.c')
0 files changed, 0 insertions, 0 deletions