From 7ff954ce7dcc4e8f3dff46cba4e98e7b864919e5 Mon Sep 17 00:00:00 2001 From: Rose <83477269+AtariDreams@users.noreply.github.com> Date: Sat, 26 Nov 2022 09:56:52 -0500 Subject: [PATCH] Replace deprecated httpConnect function with httpConnect2 --- notifier/rss.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notifier/rss.c b/notifier/rss.c index 3efc3f9ece..23c4ba2805 100644 --- a/notifier/rss.c +++ b/notifier/rss.c @@ -156,7 +156,8 @@ main(int argc, /* I - Number of command-line arguments */ return (1); } - if ((http = httpConnect(host, port)) == NULL) + if (http = (httpConnect2(host, port, NULL, AF_UNSPEC, + HTTP_ENCRYPTION_IF_REQUESTED, 1, 30000, NULL)) == NULL) { fprintf(stderr, "ERROR: Unable to connect to %s on port %d: %s\n", host, port, strerror(errno)); -- 2.47.2