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 63e7a1bd authored by Deucе's avatar Deucе 👌🏾

JSDOOR isn't defined here.

parent fd7cf58b
Pipeline #1854 failed with stage
in 9 minutes and 39 seconds
......@@ -59,11 +59,9 @@ int set_socket_options(scfg_t* cfg, SOCKET sock, const char* protocol, char* err
/* Set user defined socket options */
iniFileName(cfgfile,sizeof(cfgfile),cfg->ctrl_dir,"sockopts.ini");
if((fp=iniOpenFile(cfgfile,FALSE))==NULL) {
#ifdef JSDOOR
int optval = 1;
// Set the only sane choice...
setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (void *)&optval, sizeof(optval));
#endif
return(0);
}
list=iniReadFile(fp);
......
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