]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 19 Oct 2006 00:26:00 +0000 (00:26 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 19 Oct 2006 00:26:00 +0000 (00:26 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3087 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/mod_sofia.c

index 5e56b940a0612b955279c1f97ea44f8a2f1660e2..6f42213aaef59cbe09ddcb4b94de0132787f4ab0 100644 (file)
@@ -957,7 +957,7 @@ static void do_invite(switch_core_session_t *session)
                }
 
 
-               if ((e_dest = strdup(tech_pvt->e_dest))) {
+               if (tech_pvt->e_dest && (e_dest = strdup(tech_pvt->e_dest))) {
                        char *user = e_dest, *host = NULL;
                        char hash_key[256] = "";