mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 16:58:35 +00:00
fix for MODEVENT-2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6475 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
7db7234fe4
commit
6f30fe29b2
@ -682,7 +682,12 @@ static switch_status_t parse_command(listener_t * listener, switch_event_t *even
|
|||||||
strip_cr(cmd);
|
strip_cr(cmd);
|
||||||
|
|
||||||
ename = cmd + 9;
|
ename = cmd + 9;
|
||||||
if (*ename == '\r' || *ename == '\n') {
|
|
||||||
|
while (ename && *ename == '\t' || *ename == ' ') {
|
||||||
|
++ename;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (ename && (*ename == '\r' || *ename == '\n')) {
|
||||||
ename = NULL;
|
ename = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user