]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
try to avoid compiler optimization snafu equiv to: 4021b5c
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 4 Feb 2014 19:36:10 +0000 (00:36 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 4 Feb 2014 19:36:10 +0000 (00:36 +0500)
src/mod/endpoints/mod_sofia/sofia.c

index fdc68664691f3e9d8ace234d5648b904800b159f..b46718d1dc792836ca31c0b2b275c8299c90f984 100644 (file)
@@ -3404,8 +3404,8 @@ static void config_sofia_profile_urls(sofia_profile_t * profile)
        }
        
        if (profile->bind_params) {
-               char *bindurl = profile->bindurl;
-               profile->bindurl = switch_core_sprintf(profile->pool, "%s;%s", bindurl, profile->bind_params);
+               char *bindurl = switch_core_sprintf(profile->pool, "%s;%s", profile->bindurl, profile->bind_params);
+               profile->bindurl = bindurl;
        }
        
        /*