Skip to content
Snippets Groups Projects
Commit 02bc3637 authored by Olle Johansson's avatar Olle Johansson
Browse files

Code simplification

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent d520d238
No related merge requests found
......@@ -13473,14 +13473,9 @@ static struct ast_channel *sip_request_call(const char *type, int format, void *
ext = tmp;
} else {
ext = strchr(tmp, '/');
if (ext) {
if (ext)
*ext++ = '\0';
host = tmp;
}
else {
host = tmp;
ext = NULL;
}
host = tmp;
}
 
if (create_addr(p, host)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment