summaryrefslogtreecommitdiff
path: root/src/feeds.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-02-28 17:49:49 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-02-28 17:49:49 +0200
commit6bd8e679a86d75aa65fba4afeca7e75de7b34a03 (patch)
tree423108478a90c56b31aa09f4b5b2d74bfbdbdd9a /src/feeds.c
parentc84b23dcbce53548793b2a918d172c13d4afa404 (diff)
Cleanup
Diffstat (limited to 'src/feeds.c')
-rw-r--r--src/feeds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feeds.c b/src/feeds.c
index c66b2b84..4416521e 100644
--- a/src/feeds.c
+++ b/src/feeds.c
@@ -395,7 +395,7 @@ static iBool startWorker_Feeds_(iFeeds *d) {
395 iFeedJob *job = new_FeedJob(bm); 395 iFeedJob *job = new_FeedJob(bm);
396 if (!contains_IntSet(&d->previouslyCheckedFeeds, id_Bookmark(bm))) { 396 if (!contains_IntSet(&d->previouslyCheckedFeeds, id_Bookmark(bm))) {
397 job->isFirstUpdate = iTrue; 397 job->isFirstUpdate = iTrue;
398 printf("first check of %x: %s\n", id_Bookmark(bm), cstr_String(&bm->title)); 398// printf("first check of %x: %s\n", id_Bookmark(bm), cstr_String(&bm->title));
399 fflush(stdout); 399 fflush(stdout);
400 insert_IntSet(&d->previouslyCheckedFeeds, id_Bookmark(bm)); 400 insert_IntSet(&d->previouslyCheckedFeeds, id_Bookmark(bm));
401 } 401 }
@@ -430,7 +430,7 @@ static void stopWorker_Feeds_(iFeeds *d) {
430} 430}
431 431
432static int cmp_FeedEntryPtr_(const void *a, const void *b) { 432static int cmp_FeedEntryPtr_(const void *a, const void *b) {
433 const iFeedEntry * const *elem[2] = { a, b }; 433 const iFeedEntry * const *elem[2] = { a, b };
434 return cmpString_String(&(*elem[0])->url, &(*elem[1])->url); 434 return cmpString_String(&(*elem[0])->url, &(*elem[1])->url);
435} 435}
436 436