X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=ssplit.c;h=ec0f1db20d0278d0d94f5ee9fdf87954db3f2f3c;hp=01618989fb14c53e1e6d813169ed182da1f174b2;hb=b8c75c0cb4d606a624276a71732439214d028727;hpb=30dab240148066218231d5d1649c8621fff009d7 diff --git a/ssplit.c b/ssplit.c index 01618989..ec0f1db2 100644 --- a/ssplit.c +++ b/ssplit.c @@ -1,4 +1,3 @@ -const char ssplit_rcs[] = "$Id: ssplit.c,v 1.19 2012/07/23 12:46:40 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/ssplit.c,v $ @@ -6,7 +5,7 @@ const char ssplit_rcs[] = "$Id: ssplit.c,v 1.19 2012/07/23 12:46:40 fabiankeil E * 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 @@ -37,13 +36,10 @@ const char ssplit_rcs[] = "$Id: ssplit.c,v 1.19 2012/07/23 12:46:40 fabiankeil E #include #include -#include #include "ssplit.h" #include "miscutil.h" -const char ssplit_h_rcs[] = SSPLIT_H_VERSION; - /********************************************************************* * @@ -153,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);