You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2004/07/09 21:37:21 UTC
svn commit: rev 22757 - spamassassin/trunk/spamc
Author: felicity
Date: Fri Jul 9 12:37:20 2004
New Revision: 22757
Modified:
spamassassin/trunk/spamc/libspamc.c
Log:
bug 3583: compiling spamc with SSL support caused gcc to throw a warning in libspamc. simply set the variable to NULL and let the code initialize it in the next section as before (gcc doesn't deal with the ifdef/return business apparently).
Modified: spamassassin/trunk/spamc/libspamc.c
==============================================================================
--- spamassassin/trunk/spamc/libspamc.c (original)
+++ spamassassin/trunk/spamc/libspamc.c Fri Jul 9 12:37:20 2004
@@ -816,7 +816,7 @@
float version;
int response;
int failureval;
- SSL_CTX *ctx;
+ SSL_CTX *ctx = NULL;
SSL *ssl = NULL;
SSL_METHOD *meth;