projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
privoxy-log-parser: Bump copyright
[privoxy.git]
/
ssplit.c
diff --git
a/ssplit.c
b/ssplit.c
index
f525aba
..
ec0f1db
100644
(file)
--- 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
* 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. http
s
://www.privoxy.org/
*
* Based on the Internet Junkbuster originally written
* by and Copyright (C) 1997 Anonymous Coders and
*
* Based on the Internet Junkbuster originally written
* by and Copyright (C) 1997 Anonymous Coders and
@@
-36,7
+36,6
@@
#include <string.h>
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
-#include <assert.h>
#include "ssplit.h"
#include "miscutil.h"
#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 */
}
}
/* null terminate the substring */
- /* XXX: this shouldn't be necessary, so assert that it isn't. */
- assert(*str == '\0');
*str = '\0';
return(vec_count);
*str = '\0';
return(vec_count);