]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3321 Small correction on my own addition
authorMarc Olivier Chouinard <mochouinard@moctel.com>
Thu, 15 Dec 2011 17:23:53 +0000 (12:23 -0500)
committerMarc Olivier Chouinard <mochouinard@moctel.com>
Thu, 15 Dec 2011 17:23:53 +0000 (12:23 -0500)
src/mod/endpoints/mod_sofia/mod_sofia.c

index b747bea6dda1891c429ac686ad9b536890235d2e..fb4a0cee77f15c616087476380e1eabc51606f58 100644 (file)
@@ -4307,7 +4307,7 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
                char *gw, *params;
 
                if (!(gw = strchr(profile_name, '/'))) {
-                       switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Invalid URL \'%s\'\n", gw);
+                       switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Invalid URL \'%s\'\n", profile_name);
                        cause = SWITCH_CAUSE_INVALID_URL;
                        goto error;
                }