mirror of
https://github.com/WCBROW01/zblock.git
synced 2025-12-11 20:18:07 -05:00
[main.c] Async (real)
This commit is contained in:
2
main.c
2
main.c
@ -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
|
||||||
)) {
|
)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user