tokenizing is much better than stringizing any day. oh, and those quotes don't belong.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4421 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ed76b25241
commit
efab82eb23
|
@ -4258,7 +4258,7 @@ static void sip_i_info(nua_t *nua,
|
|||
}
|
||||
|
||||
|
||||
#define url_set_chanvars(session, url, varprefix) _url_set_chanvars(session, url, #varprefix "_user", #varprefix "_host", #varprefix "_port", #varprefix "_uri")
|
||||
#define url_set_chanvars(session, url, varprefix) _url_set_chanvars(session, url, ##varprefix "_user", ##varprefix "_host", ##varprefix "_port", ##varprefix "_uri")
|
||||
static const char * _url_set_chanvars(switch_core_session_t *session, url_t *url, const char * user_var, const char * host_var, const char * port_var, const char * uri_var)
|
||||
{
|
||||
const char *user = NULL, *host = NULL, *port = NULL;
|
||||
|
|
Loading…
Reference in New Issue