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