spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sid...@apache.org
Subject svn commit: r544945 - /spamassassin/branches/3.2/spamc/spamc.c
Date Wed, 06 Jun 2007 20:48:16 GMT
Author: sidney
Date: Wed Jun  6 13:48:15 2007
New Revision: 544945

URL: http://svn.apache.org/viewvc?view=rev&rev=544945
Log:
bug4616: spamc config can cause command line options to be ignored

Modified:
    spamassassin/branches/3.2/spamc/spamc.c

Modified: spamassassin/branches/3.2/spamc/spamc.c
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.2/spamc/spamc.c?view=diff&rev=544945&r1=544944&r2=544945
==============================================================================
--- spamassassin/branches/3.2/spamc/spamc.c (original)
+++ spamassassin/branches/3.2/spamc/spamc.c Wed Jun  6 13:48:15 2007
@@ -542,6 +542,8 @@
 
 	tok = option;
 	while((tok = strtok(tok, " ")) != NULL) {
+       if(tok[0] == '\n')
+          break;
 	    for(i=strlen(tok); i>0; i--) {
 	        if(tok[i] == '\n')
 		    tok[i] = '\0';



Mime
View raw message