From 833830baccc4968d8a8fd56f2fd8b4a4bfef3612 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Thu, 13 Jul 2017 17:29:35 +0200 Subject: [PATCH] pua: updates for CONT_COPY() macro --- src/modules/pua/send_subscribe.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/modules/pua/send_subscribe.c b/src/modules/pua/send_subscribe.c index 06e22aa069b..ff1f5bad237 100644 --- a/src/modules/pua/send_subscribe.c +++ b/src/modules/pua/send_subscribe.c @@ -819,7 +819,7 @@ ua_pres_t* subscribe_cbparam(subs_info_t* subs, int ua_flag) if(subs->id.s) { - CONT_COPY(hentity, hentity->id, subs->id) + CONT_COPY(hentity, hentity->id, subs->id); } if(subs->extra_headers) { @@ -885,7 +885,7 @@ ua_pres_t* subs_cbparam_indlg(ua_pres_t* subs, int expires, int ua_flag) hentity->watcher_uri->len= subs->watcher_uri->len; size+= subs->watcher_uri->len; - CONT_COPY(hentity, hentity->contact, subs->contact) + CONT_COPY(hentity, hentity->contact, subs->contact); if(subs->outbound_proxy && subs->outbound_proxy->len && subs->outbound_proxy->s) { @@ -899,12 +899,12 @@ ua_pres_t* subs_cbparam_indlg(ua_pres_t* subs, int expires, int ua_flag) if(subs->id.s) { - CONT_COPY(hentity, hentity->id, subs->id) + CONT_COPY(hentity, hentity->id, subs->id); } if(subs->remote_contact.s) { - CONT_COPY(hentity, hentity->remote_contact, subs->remote_contact) + CONT_COPY(hentity, hentity->remote_contact, subs->remote_contact); } if(subs->extra_headers && subs->extra_headers->s) @@ -919,9 +919,9 @@ ua_pres_t* subs_cbparam_indlg(ua_pres_t* subs, int expires, int ua_flag) } /* copy dialog information */ - CONT_COPY(hentity, hentity->to_tag, subs->to_tag) - CONT_COPY(hentity, hentity->from_tag, subs->from_tag) - CONT_COPY(hentity, hentity->call_id, subs->call_id) + CONT_COPY(hentity, hentity->to_tag, subs->to_tag); + CONT_COPY(hentity, hentity->from_tag, subs->from_tag); + CONT_COPY(hentity, hentity->call_id, subs->call_id); if(expires< 0) hentity->desired_expires= 0;