RSSyl: Allow use of .netrc by libcurl. Bug/enhancement #3309, by Vincent Pelletier
[claws.git] / src / plugins / bogofilter / bogofilter.c
index f97d69ae52e06b665a405d15c668112689838a30..d5e6076d0067291db4cd53446c84cc9fad8e78d6 100644 (file)
@@ -264,7 +264,7 @@ static void bogofilter_do_filter(BogoFilterData *data)
                                } else {
                                        gchar **parts = NULL;
 
-                                       buf[sizeof(buf - 1)] = '\0';
+                                       buf[sizeof(buf) - 1] = '\0';
                                        if (strchr(buf, '/')) {
                                                tmp = strrchr(buf, '/')+1;
                                        } else {