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

Fix logic error in cl poll patch

parent 123596e1
Pipeline #1596 passed with stage
in 9 minutes and 38 seconds
......@@ -78,7 +78,7 @@ diff -ur ../cl-old/io/tcp_rw.c ./io/tcp_rw.c
+#ifdef __WINDOWS__
if( FD_ISSET( netStream->netSocket, &exceptfds ) )
+#else
+ if (fds.revents | (POLLERR | POLLNVAL))
+ if (fds.revents & (POLLERR | POLLNVAL))
+#endif
{
int socketErrorCode;
......@@ -105,4 +105,3 @@ diff -ur ../cl-old/io/tcp_rw.c ./io/tcp_rw.c
return( CRYPT_OK );
}
Only in ./tools: endian
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