improve sofia_glue_get_url_from_contact and its usage. Should fix MODENDP-33.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6075 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2007-10-28 16:07:23 +00:00
1 parent 795aa33028
commit 6b74f05af6
3 files changed
+11 -19

No files matched your search

+6
View File
@@ -1572,6 +1572,12 @@ char *sofia_glue_get_url_from_contact(char *buf, uint8_t to_dup)
}
*e = '\0';
} else {
if (to_dup) {
url = strdup(buf);
} else {
url = buf;
}
}
return url;