"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/mxcat.c" between
bogofilter-1.2.4.tar.gz and bogofilter-1.2.5.rc1.tar.xz

About: Bogofilter is a learning spam mail filter using Bayesian (statistical) analysis for classification. Release candidate.

mxcat.c  (bogofilter-1.2.4):mxcat.c  (bogofilter-1.2.5.rc1.tar.xz)
skipping to change at line 23 skipping to change at line 23
char *t, *r; char *t, *r;
va_start(ap, first); va_start(ap, first);
s = strlen(first); s = strlen(first);
while ((t = va_arg(ap, char *))) { while ((t = va_arg(ap, char *))) {
s += strlen(t); s += strlen(t);
} }
va_end(ap); va_end(ap);
s++; s++;
r = xmalloc(s); r = (char *)xmalloc(s);
va_start(ap, first); va_start(ap, first);
strlcpy(r, first, s); strlcpy(r, first, s);
while ((t = va_arg(ap, char *))) { while ((t = va_arg(ap, char *))) {
strlcat(r, t, s); strlcat(r, t, s);
} }
va_end(ap); va_end(ap);
return r; return r;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)