Explorar el Código

Add an assert to make tools happier.

svn:r16782
Nick Mathewson hace 17 años
padre
commit
a345506672
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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) {