openbsd-ports/mail/dspam/patches/patch-src_base64_c
todd 5220cb1363 take maintainership, ok jakob@
update to 3.6.4
(see http://dspam.nuclearelephant.com/text/RELEASE-3.6.4.txt for details)
Additionally:
- fix a typo in a printf
- give postgresql a chance of decent performance
- timeout at 15min not 5min per message by default
2006-03-23 17:17:40 +00:00

13 lines
340 B
Plaintext

$OpenBSD: patch-src_base64_c,v 1.2 2006/03/23 17:17:40 todd Exp $
--- src/base64.c.orig Sat Jan 21 19:59:14 2006
+++ src/base64.c Sat Mar 4 19:04:43 2006
@@ -201,7 +201,7 @@ base64encode (const char *buf)
}
if (out[strlen (out) - 1] != '\n')
- strcat (out, "\n");
+ strlcat (out, "\n", strlen (buf) * 2);
return out;
}