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:
Michael Jerris 2007-03-02 00:36:05 +00:00
parent ed76b25241
commit efab82eb23
1 changed files with 1 additions and 1 deletions

View File

@ -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;