minor cleaning

This commit is contained in:
Oleg Moskalenko 2016-10-03 22:48:40 -07:00
parent 00e0609a68
commit 95eec6b88b

View File

@ -1439,8 +1439,8 @@ int stun_attr_get_addr_str(const u08bits *buf, size_t len, stun_attr_ref attr, i
stun_tid_from_message_str(buf, len, &tid); stun_tid_from_message_str(buf, len, &tid);
ioa_addr public_addr; ioa_addr public_addr;
ns_bzero(ca, sizeof(ioa_addr)); addr_set_any(ca);
ns_bzero(&public_addr, sizeof(ioa_addr)); addr_set_any(&public_addr);
int attr_type = stun_attr_get_type(attr); int attr_type = stun_attr_get_type(attr);
if(attr_type<0) return -1; if(attr_type<0) return -1;