From 6fad41ba21aa70cea37ac7d7d97595bc30adca4b Mon Sep 17 00:00:00 2001 From: Will Brown Date: Sun, 24 Nov 2024 17:25:58 -0500 Subject: [PATCH] [main.c] Async (real) --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )) {