summaryrefslogtreecommitdiff
path: root/pages.c
diff options
context:
space:
mode:
Diffstat (limited to 'pages.c')
-rw-r--r--pages.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/pages.c b/pages.c
index 9d4e06a..b84caac 100644
--- a/pages.c
+++ b/pages.c
@@ -846,14 +846,11 @@ writerss(FILE *out, int post)
fclose(in);
return 0;
}
- else if (pos == 3)
+ else if (pos >= 3)
{
strncpy(description, line, 100);
- }
- /* try to find images */
- else if (pos > 3)
- {
+ /* try to find images */
char *img;
if ((img = strstr(line, "<img")))
{