INN commit: trunk/innd (keywords.c)

INN Commit rra at isc.org
Sat Dec 26 12:24:22 UTC 2009


    Date: Saturday, December 26, 2009 @ 04:24:22
  Author: iulius
Revision: 8864

Fix a bug in keyword generation code:  an initial comma was
still added at the beginning of the Keywords: header (when
the first word was a noised one).

Modified:
  trunk/innd/keywords.c

------------+
 keywords.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: keywords.c
===================================================================
--- keywords.c	2009-12-26 10:09:57 UTC (rev 8863)
+++ keywords.c	2009-12-26 12:24:22 UTC (rev 8864)
@@ -244,7 +244,7 @@
 	    continue;
 
 	/* Add to list. */
-        if (word_index != 0)
+        if (chase != hc->Value)
             *chase++ = ',';
 
         strlcpy(chase, word[word_vec[word_index].index],




More information about the inn-committers mailing list