Browse Source

Add an assert to make tools happier.

svn:r16782
Nick Mathewson 17 years ago
parent
commit
a345506672
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/common/container.c

+ 2 - 0
src/common/container.c

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