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/09/19 14:17:07 UTC

svn commit: r577271 - /spamassassin/trunk/sa-compile.raw

Author: jm
Date: Wed Sep 19 05:17:06 2007
New Revision: 577271

URL: http://svn.apache.org/viewvc?rev=577271&view=rev
Log:
avoid trivial C compiler warning

Modified:
    spamassassin/trunk/sa-compile.raw

Modified: spamassassin/trunk/sa-compile.raw
URL: http://svn.apache.org/viewvc/spamassassin/trunk/sa-compile.raw?rev=577271&r1=577270&r2=577271&view=diff
==============================================================================
--- spamassassin/trunk/sa-compile.raw (original)
+++ spamassassin/trunk/sa-compile.raw Wed Sep 19 05:17:06 2007
@@ -528,7 +528,7 @@
 
 	  cursor = pstart;
 	  while (cursor < pend) {
-	    while (match = ${funcname} (\&cursor)) {
+	    while ((match = ${funcname} (\&cursor)) != NULL) {
 	      split_and_add(results, match);
 	    }
 	  }