Add an assert to make tools happier.

svn:r16782
This commit is contained in:
Nick Mathewson 2008-09-05 20:59:09 +00:00
parent d5b2dab31d
commit a345506672

View File

@ -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) {