diff --git a/examples/echosrv.c b/examples/echosrv.c
index 76d6e5b..5e740ed 100644
--- a/examples/echosrv.c
+++ b/examples/echosrv.c
@@ -140,7 +140,7 @@ create_server (char *arg)
exit (1);
}
- memset (&hints, sizeof(hints), 0);
+ memset (&hints, 0, sizeof(hints));
hints.flags = MU_AH_PASSIVE;
hints.socktype = SOCK_STREAM;
hints.protocol = IPPROTO_TCP;_______________________________________________ Bug-mailutils mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-mailutils
