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 878c4c8..1669778 100644
--- a/pages.c
+++ b/pages.c
@@ -800,7 +800,7 @@ writerss(FILE *out, int post)
strncpy(date, line, 512);
}
- if (pos >= 2 && (title[0] == 0 || date[0] == 0))
+ if (pos >= 2 && (title[0] == '\n' || date[0] == '\n'))
{
fprintf(stderr, "post %s has a broken format, please fix it\n", buff);
fclose(in);