Module: kamailio
Branch: master
Commit: 833830baccc4968d8a8fd56f2fd8b4a4bfef3612
URL:
https://github.com/kamailio/kamailio/commit/833830baccc4968d8a8fd56f2fd8b4a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-07-13T17:29:35+02:00
pua: updates for CONT_COPY() macro
---
Modified: src/modules/pua/send_subscribe.c
---
Diff:
https://github.com/kamailio/kamailio/commit/833830baccc4968d8a8fd56f2fd8b4a…
Patch:
https://github.com/kamailio/kamailio/commit/833830baccc4968d8a8fd56f2fd8b4a…
---
diff --git a/src/modules/pua/send_subscribe.c b/src/modules/pua/send_subscribe.c
index 06e22aa069..ff1f5bad23 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;