summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages.c b/pages.c
index 4681eef..31fa08e 100644
--- a/pages.c
+++ b/pages.c
@@ -907,7 +907,7 @@ generaterss(const int *posts, size_t totalposts)
int towrite = post_count;
while (towrite > totalposts)
towrite--;
- for (i = 1; i < towrite; i++)
+ for (i = 1; i <= towrite; i++)
{
if (!writerss(tmp, (totalposts - posts[i])))
return 0;