mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 14:44:17 +00:00
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:
1 parent
795aa33028
commit
6b74f05af6
3 files changed
+11
-19
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user