Module: sip-router Branch: master Commit: 45d4e808f0551a5eeb832574327a2b5b7aecf2c5 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=45d4e808...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Sun May 19 23:18:19 2013 +0200
uac: reorder fileds in uac structure
---
modules/uac/uac_send.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/uac/uac_send.c b/modules/uac/uac_send.c index 91ad56c..2374b3a 100644 --- a/modules/uac/uac_send.c +++ b/modules/uac/uac_send.c @@ -50,6 +50,8 @@ typedef struct _uac_send_info { str s_turi; char b_furi[MAX_URI_SIZE]; str s_furi; + char b_callid[128]; + str s_callid; char b_hdrs[MAX_UACH_SIZE]; str s_hdrs; char b_body[MAX_UACB_SIZE]; @@ -61,8 +63,6 @@ typedef struct _uac_send_info { char b_apasswd[64]; str s_apasswd; unsigned int onreply; - char b_callid[128]; - str s_callid; } uac_send_info_t;
static struct _uac_send_info _uac_req; @@ -638,7 +638,7 @@ int uac_req_send(struct sip_msg *msg, char *s1, char *s2) /* Callback parameter */ uac_r.cbp = (void*)tp; } - uac_r.callid = (_uac_req.s_callid.len <= 0) ? NULL : &_uac_req.s_callid; + uac_r.callid = (_uac_req.s_callid.len <= 0) ? NULL : &_uac_req.s_callid; ret = tmb.t_request(&uac_r, /* UAC Req */ &_uac_req.s_ruri, /* Request-URI */ (_uac_req.s_turi.len<=0)?&_uac_req.s_ruri:&_uac_req.s_turi, /* To */