forked from Mirrors/freeswitch
cleanup, null checks. etc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6696 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
8fd67f8779
commit
165da7462b
|
@ -336,7 +336,7 @@ abyss_bool auth_hook(TSession * r)
|
|||
|
||||
if (!strncmp(r->uri, "/domains/", 9)) {
|
||||
domain_name = strdup(r->uri + 9);
|
||||
assert(domain_name);
|
||||
switch_assert(domain_name);
|
||||
|
||||
if ((e = strchr(domain_name, '/'))) {
|
||||
*e++ = '\0';
|
||||
|
@ -556,7 +556,7 @@ abyss_bool handler_hook(TSession * r)
|
|||
switch_event_add_header(stream.event, SWITCH_STACK_BOTTOM, "HTTP-QUERY", "%s", query);
|
||||
|
||||
qd = strdup(query);
|
||||
assert(qd != NULL);
|
||||
switch_assert(qd != NULL);
|
||||
|
||||
q = qd;
|
||||
next = q;
|
||||
|
|
Loading…
Reference in New Issue