INN commit: branches/2.5/innd (keywords.c)

INN Commit rra at isc.org
Sun Jan 17 13:14:00 UTC 2010


    Date: Sunday, January 17, 2010 @ 05:14:00
  Author: iulius
Revision: 8899

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:
  branches/2.5/innd/keywords.c

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

Modified: keywords.c
===================================================================
--- keywords.c	2010-01-17 13:12:29 UTC (rev 8898)
+++ keywords.c	2010-01-17 13:14:00 UTC (rev 8899)
@@ -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