From efab82eb238c6b16e5eca681538431b29ed6b0e2 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 2 Mar 2007 00:36:05 +0000 Subject: [PATCH] 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 --- src/mod/endpoints/mod_sofia/mod_sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 944169ecda..8b75329bc7 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -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;