ports/net/widentd/files/patch-widentd.c
Fernando Apesteguía 96d1893b07 net/widentd: Replace deprecated variable (fixes build)
PR:	253240
Submitted by:	portmaster@bsdforge.com (maintainer)
MFH:	2021Q
2021-02-24 06:29:21 +00:00

11 lines
253 B
C

--- widentd.c.orig 2015-02-24 19:27:09 UTC
+++ widentd.c
@@ -191,7 +191,7 @@ main(int argc, char **argv)
to.tv_sec = TIMEOUT;
to.tv_usec = 0;
- memset(buff, sizeof(buff), 0);
+ memset(buff, (0), sizeof(buff));
do {
int n;