diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-28 17:49:49 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-28 17:49:49 +0200 |
commit | 6bd8e679a86d75aa65fba4afeca7e75de7b34a03 (patch) | |
tree | 423108478a90c56b31aa09f4b5b2d74bfbdbdd9a | |
parent | c84b23dcbce53548793b2a918d172c13d4afa404 (diff) |
Cleanup
-rw-r--r-- | src/feeds.c | 4 | ||||
-rw-r--r-- | src/main.c | 1 |
2 files changed, 2 insertions, 3 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 | ||
432 | static int cmp_FeedEntryPtr_(const void *a, const void *b) { | 432 | static 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 | ||
@@ -43,7 +43,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
43 | #include <signal.h> | 43 | #include <signal.h> |
44 | 44 | ||
45 | int main(int argc, char **argv) { | 45 | int main(int argc, char **argv) { |
46 | printf("Lagrange: A Beautiful Gemini Client\n"); | ||
47 | signal(SIGPIPE, SIG_IGN); | 46 | signal(SIGPIPE, SIG_IGN); |
48 | #if defined (iPlatformAppleDesktop) | 47 | #if defined (iPlatformAppleDesktop) |
49 | enableMomentumScroll_MacOS(); | 48 | enableMomentumScroll_MacOS(); |