You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2007/01/09 17:05:09 UTC
svn commit: r494446 - /spamassassin/trunk/spamc/libspamc.c
Author: jm
Date: Tue Jan 9 08:05:08 2007
New Revision: 494446
URL: http://svn.apache.org/viewvc?view=rev&rev=494446
Log:
bug 5286: fix spamc build failure when zlib is not available, fix from John Madden <maddenj+spamassassin at skynet.ie>
Modified:
spamassassin/trunk/spamc/libspamc.c
Modified: spamassassin/trunk/spamc/libspamc.c
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamc/libspamc.c?view=diff&rev=494446&r1=494445&r2=494446
==============================================================================
--- spamassassin/trunk/spamc/libspamc.c (original)
+++ spamassassin/trunk/spamc/libspamc.c Tue Jan 9 08:05:08 2007
@@ -995,7 +995,7 @@
static int
_zlib_compress (char *m_msg, int m_msg_len,
- unsigned char **zlib_buf, int *zlib_bufsiz)
+ unsigned char **zlib_buf, int *zlib_bufsiz, int flags)
{
int rc;
int len, totallen;
@@ -1135,7 +1135,7 @@
towrite_buf = (unsigned char *) m->msg;
towrite_len = (int) m->msg_len;
if (zlib_on) {
- if (_zlib_compress(m->msg, m->msg_len, &zlib_buf, &zlib_bufsiz) != EX_OK)
+ if (_zlib_compress(m->msg, m->msg_len, &zlib_buf, &zlib_bufsiz, flags) != EX_OK)
{
return EX_OSERR;
}