From 83e1fb1efd6f9e25198792c182e18ec53165925b Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 6 Jul 2007 09:49:18 +0200 Subject: [PATCH] dccp_send.c: Replace bzero() by memset() bzero() is deprecated. --- dccp_send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dccp_send.c b/dccp_send.c index 6cd7fa4b..27343fbc 100644 --- a/dccp_send.c +++ b/dccp_send.c @@ -79,7 +79,7 @@ static int dccp_open(void) return ret; listen_fd = ret; - bzero(&servaddr, sizeof(servaddr)); + memset(&servaddr, 0, sizeof(servaddr)); servaddr.sin_family = AF_INET; servaddr.sin_addr.s_addr = htonl(INADDR_ANY); servaddr.sin_port = htons(conf.dccp_port_arg); -- 2.39.5