fix parse err
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16568 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
03009d648c
commit
6fec6e8aa0
|
@ -1720,7 +1720,7 @@ static switch_status_t parse_command(listener_t *listener, switch_event_t **even
|
|||
switch_event_create_plain(&listener->filters, SWITCH_EVENT_CHANNEL_DATA);
|
||||
}
|
||||
|
||||
if (!strcasecmp(header_name, "delete")) {
|
||||
if (!strcasecmp(header_name, "delete") && header_val) {
|
||||
header_name = header_val;
|
||||
if ((header_val = strchr(header_name, ' '))) {
|
||||
*header_val++ = '\0';
|
||||
|
|
Loading…
Reference in New Issue