]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add an assert to make tools happier.
authorNick Mathewson <nickm@torproject.org>
Fri, 5 Sep 2008 20:59:09 +0000 (20:59 +0000)
committerNick Mathewson <nickm@torproject.org>
Fri, 5 Sep 2008 20:59:09 +0000 (20:59 +0000)
svn:r16782

src/common/container.c

index ffb4ffe497f6f0d71b4565cd9e81f27610933031..8021bd19c3708c8ef47397abc75d0ee057421f49 100644 (file)
@@ -358,6 +358,8 @@ smartlist_split_string(smartlist_t *sl, const char *str, const char *sep,
         ;
     }
 
+    tor_assert(end);
+
     if (!*end) {
       next = NULL;
     } else if (sep) {