X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=ssplit.c;h=ec0f1db20d0278d0d94f5ee9fdf87954db3f2f3c;hp=ef40e64492e8698e7e10dcd30b934e203be21478;hb=1547dac5126fa35db78b737af31f3c2044173881;hpb=767afb7f5d7062d75385b9ab3afdad47d0249a39 diff --git a/ssplit.c b/ssplit.c index ef40e644..ec0f1db2 100644 --- a/ssplit.c +++ b/ssplit.c @@ -36,7 +36,6 @@ #include #include -#include #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);