Revision 8f954fe2

View differences:

src/Chunkiser/input-stream-udp.c
55 55
    return -1;
56 56
  }
57 57

  
58
  bzero(&servaddr, sizeof(servaddr));
58
  memset(&servaddr, 0, sizeof(servaddr));
59 59
  servaddr.sin_family = AF_INET;
60 60
  servaddr.sin_addr.s_addr = htonl(INADDR_ANY);
61 61
  servaddr.sin_port = htons(port);
src/Chunkiser/output-stream-udp.c
93 93
{
94 94
  struct sockaddr_in si_other;
95 95

  
96
  bzero(&si_other, sizeof(si_other));
96
  memset(&si_other, 0, sizeof(si_other));
97 97
  si_other.sin_family = AF_INET;
98 98
  si_other.sin_port = htons(port);
99 99
  if (inet_aton(ip, &si_other.sin_addr) == 0) {

Also available in: Unified diff