X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=ssplit.c;h=ec0f1db20d0278d0d94f5ee9fdf87954db3f2f3c;hb=5573b7911631b77dac62de585f3082c3d3d71a77;hp=f525aba635a7865dd6cc88cef3f54e8498ca511a;hpb=5ca53f92bc634c20fed90f338ac41561f87b834c;p=privoxy.git diff --git a/ssplit.c b/ssplit.c index f525aba6..ec0f1db2 100644 --- 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 #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);