diff options
Diffstat (limited to 'pages.c')
-rw-r--r-- | pages.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -846,18 +846,18 @@ 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 */ - char *img; - if ((img = strstr(line, "<img"))) - { - hasimg = 1; - getimage(img, image, 1024); - break; - } + /* try to find images */ + char *img; + if ((img = strstr(line, "<img"))) + { + hasimg = 1; + getimage(img, image, 1024); + break; } pos++; } |