X-Git-Url: https://git.wpitchoune.net/gitweb/?p=prss.git;a=blobdiff_plain;f=src%2Fmain.c;fp=src%2Fmain.c;h=1518bd618e1be511401b273d3cdbc569b4269530;hp=e122bfa5cac5d07354c064711acdd74ed4cdbe36;hb=e986bbe93fab2d002797bf40983d91ceb76a133c;hpb=defb62b702251f80cc0e0847b6872eb95a6fc9d0 diff --git a/src/main.c b/src/main.c index e122bfa..1518bd6 100644 --- a/src/main.c +++ b/src/main.c @@ -141,7 +141,8 @@ void update() cur++; } - ttrs_download_headline_content(feeds); + if (feeds) + ttrs_download_headline_content(feeds); model_state = 0;