]> git.tue.mpg.de Git - paraslash.git/commitdiff
dccp_send.c: Replace bzero() by memset()
authorAndre Noll <maan@systemlinux.org>
Fri, 6 Jul 2007 07:49:18 +0000 (09:49 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 6 Jul 2007 07:49:18 +0000 (09:49 +0200)
bzero() is deprecated.

dccp_send.c

index 6cd7fa4b8ca9d28d3c0b69c4966788a27a0d71a3..27343fbc0874e96865880eaa5866d1e65a1fa385 100644 (file)
@@ -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);