fix off-by-one count
authorPaul <paul@claws-mail.org>
Thu, 7 Nov 2013 06:48:26 +0000 (06:48 +0000)
committerPaul <paul@claws-mail.org>
Thu, 7 Nov 2013 06:48:26 +0000 (06:48 +0000)
src/plugins/bogofilter/bogofilter.c

index f07ab840e5a8956f3148ae1b51eeee9b8ccb2345..726fca4521eddd17c7a09c99684d8f6647422f6c 100644 (file)
@@ -198,7 +198,7 @@ static void bogofilter_do_filter(BogoFilterData *data)
        int status = 0;
        MsgInfo *msginfo;
        GSList *cur = NULL;
-       int total = 0, curnum = 0;
+       int total = 0, curnum = 1;
        gchar *file = NULL;
        gchar buf[BUFSIZ];