Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit bfe21c58 authored by Deucе's avatar Deucе 👌🏾

Linux getaddrinfo() does not guarantee initializing res on failure.

parent 2c5aa02f
......@@ -885,7 +885,7 @@ static void
js_connect_event_thread(void *args)
{
struct js_connect_event_args *a = args;
struct addrinfo hints,*res,*cur;
struct addrinfo hints,*res = NULL,*cur;
int result;
ulong val;
char sresult;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment