mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-10 14:21:51 +00:00
mod_sofia: its cuter that way
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13544 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -3976,15 +3976,15 @@ int sofia_glue_get_user_host(char *in, char **user, char **host)
|
||||
|
||||
/* Clean out the host part of any suffix */
|
||||
if ((p = strchr(h, ':'))) {
|
||||
*p = 0;
|
||||
*p = '\0';
|
||||
}
|
||||
|
||||
if ((p = strchr(h, ';'))) {
|
||||
*p = 0;
|
||||
*p = '\0';
|
||||
}
|
||||
|
||||
if ((p = strchr(h, ' '))) {
|
||||
*p = 0;
|
||||
*p = '\0';
|
||||
}
|
||||
|
||||
*user = u;
|
||||
|
||||
Reference in New Issue
Block a user