X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=ssplit.c;h=ec0f1db20d0278d0d94f5ee9fdf87954db3f2f3c;hp=ef40e64492e8698e7e10dcd30b934e203be21478;hb=2256d7b4d67dd9c364386877d5af59943433458b;hpb=f1f33fed73abd26bbae7bde60960a8633a221fd3 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);