FEATURE_STATISTICS: Include all requests in the statistics
[privoxy.git] / ssplit.c
index f525aba..ec0f1db 100644 (file)
--- a/ssplit.c
+++ b/ssplit.c
@@ -5,7 +5,7 @@
  * Purpose     :  A function to split a string at specified delimiters.
  *
  * Copyright   :  Written by and Copyright (C) 2001-2012 the
- *                Privoxy team. http://www.privoxy.org/
+ *                Privoxy team. https://www.privoxy.org/
  *
  *                Based on the Internet Junkbuster originally written
  *                by and Copyright (C) 1997 Anonymous Coders and
@@ -36,7 +36,6 @@
 
 #include <string.h>
 #include <stdlib.h>
-#include <assert.h>
 
 #include "ssplit.h"
 #include "miscutil.h"
@@ -150,8 +149,6 @@ int ssplit(char *str, const char *delim, char *vec[], size_t vec_len)
       }
    }
    /* null terminate the substring */
-   /* XXX: this shouldn't be necessary, so assert that it isn't. */
-   assert(*str == '\0');
    *str = '\0';
 
    return(vec_count);