> + memcpy(new_rec->td.id.call_id.s, old_rec->td.id.call_id.s,
> + new_rec->td.id.call_id.len);
> + memcpy(new_rec->td.id.loc_tag.s, old_rec->td.id.loc_tag.s,
> + new_rec->td.id.loc_tag.len);
> + new_rec->td.loc_seq.value = old_rec->td.loc_seq.value;
> + new_rec->last_register_sent = old_rec->last_register_sent;
> + new_rec->registration_timeout = old_rec->registration_timeout;
> + new_rec->state = old_rec->state;
> + }
> + return 0;
> +}
> +
> +int run_find_same_rec(void *e_data, void *data, void *r_data)
> +{
> + reg_record_t *new_rec = (reg_record_t*)e_data;
> + int i = (int*)data;
Thank you for spotting this out!
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/701/files#r47812804
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel