[main.c] Async (real)

This commit is contained in:
2024-11-24 17:25:58 -05:00
parent 828c2c8c4c
commit 6fad41ba21

2
main.c
View File

@ -67,7 +67,7 @@ static void timer_retrieve_feeds(struct discord *client, struct discord_timer *t
return; return;
} }
if (!PQexecParams( if (!PQsendQueryParams(
database_conn, "SELECT url, last_pubDate, channel_id from feeds", database_conn, "SELECT url, last_pubDate, channel_id from feeds",
0, NULL, NULL, NULL, NULL, 1 0, NULL, NULL, NULL, NULL, 1
)) { )) {