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 f07ab84..726fca4 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];