diff --git a/main.c b/main.c index 3f5a4cb..c824673 100644 --- a/main.c +++ b/main.c @@ -67,7 +67,7 @@ static void timer_retrieve_feeds(struct discord *client, struct discord_timer *t return; } - if (!PQexecParams( + if (!PQsendQueryParams( database_conn, "SELECT url, last_pubDate, channel_id from feeds", 0, NULL, NULL, NULL, NULL, 1 )) {