diff svr-main.c @ 1596:60fceff95858

workaround memory sanitizer FD_ZERO false positives
author Matt Johnston <matt@ucc.asn.au>
date Tue, 06 Mar 2018 21:51:51 +0800
parents 47f36d8565cf
children e05c0e394f1d
line wrap: on
line diff
--- a/svr-main.c	Tue Mar 06 21:00:09 2018 +0800
+++ b/svr-main.c	Tue Mar 06 21:51:51 2018 +0800
@@ -178,7 +178,7 @@
 	/* incoming connection select loop */
 	for(;;) {
 
-		FD_ZERO(&fds);
+		DROPBEAR_FD_ZERO(&fds);
 		
 		/* listening sockets */
 		for (i = 0; i < listensockcount; i++) {