Skip to content
Snippets Groups Projects
Commit 5ca84955 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix logic error in cl poll patch

parent 123596e1
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1596 passed
...@@ -78,7 +78,7 @@ diff -ur ../cl-old/io/tcp_rw.c ./io/tcp_rw.c ...@@ -78,7 +78,7 @@ diff -ur ../cl-old/io/tcp_rw.c ./io/tcp_rw.c
+#ifdef __WINDOWS__ +#ifdef __WINDOWS__
if( FD_ISSET( netStream->netSocket, &exceptfds ) ) if( FD_ISSET( netStream->netSocket, &exceptfds ) )
+#else +#else
+ if (fds.revents | (POLLERR | POLLNVAL)) + if (fds.revents & (POLLERR | POLLNVAL))
+#endif +#endif
{ {
int socketErrorCode; int socketErrorCode;
...@@ -105,4 +105,3 @@ diff -ur ../cl-old/io/tcp_rw.c ./io/tcp_rw.c ...@@ -105,4 +105,3 @@ diff -ur ../cl-old/io/tcp_rw.c ./io/tcp_rw.c
return( CRYPT_OK ); return( CRYPT_OK );
} }
Only in ./tools: endian
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment