mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Add an assert to make tools happier.
svn:r16782
This commit is contained in:
parent
d5b2dab31d
commit
a345506672
@ -358,6 +358,8 @@ smartlist_split_string(smartlist_t *sl, const char *str, const char *sep,
|
|||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tor_assert(end);
|
||||||
|
|
||||||
if (!*end) {
|
if (!*end) {
|
||||||
next = NULL;
|
next = NULL;
|
||||||
} else if (sep) {
|
} else if (sep) {
|
||||||
|
Loading…
Reference in New Issue
Block a user