st->loc.file,st->loc.line);
}
- memset(&addr, 0, sizeof(addr));
+ FILLZERO(addr);
addr.sin_family=AF_INET;
addr.sin_addr.s_addr=htonl(st->addr);
addr.sin_port=htons(st->port);
d=i->data.dict;
j=dict_find_item(d,"address",False,"udp",st->loc);
- st->addr=j?st->addr=string_item_to_ipaddr(j, "udp"):INADDR_ANY;
+ st->addr=j?string_item_to_ipaddr(j, "udp"):INADDR_ANY;
st->port=dict_read_number(d,"port",True,"udp",st->loc,0);
st->rbuf=find_cl_if(d,"buffer",CL_BUFFER,True,"udp",st->loc);
st->authbind=dict_read_string(d,"authbind",False,"udp",st->loc);
l=dict_lookup(d,"proxy");
if (l) {
st->use_proxy=True;
- memset(&st->proxy,0,sizeof(st->proxy));
+ FILLZERO(st->proxy);
st->proxy.sin_family=AF_INET;
i=list_elem(l,0);
if (!i || i->type!=t_string) {