diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2021-07-23 11:27:49 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-07-23 11:30:17 -0700 |
commit | 096de0efd01e12de6c4ce968eead90e95ff8157f (patch) | |
tree | c8258e34d28729782ecbfb5475462be7ddb3b911 /CHANGELOG.md | |
parent | c90352008b22819ff903982c96d78bca108a06c4 (diff) | |
download | subsurface-096de0efd01e12de6c4ce968eead90e95ff8157f.tar.gz |
core/import: fix string check logic
The intent of the code was to check that there is a string and it has at least
two characters. Since iter is the result of a strchr(iter, '|') call, we
know that if iter isn't NULL, iter[0] is '|', so we only need to check the next
character.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions