present from tony
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3111 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
858cc7fa19
commit
ce984a90fe
|
@ -502,12 +502,16 @@ static switch_status_t parse_command(listener_t *listener, switch_event_t *event
|
|||
switch_core_session_t *session;
|
||||
char *uuid = cmd + 8;
|
||||
|
||||
|
||||
if (uuid) {
|
||||
while(*uuid == ' ') {
|
||||
uuid++;
|
||||
}
|
||||
strip_cr(uuid);
|
||||
|
||||
if (*uuid == '\r' || *uuid == '\n') {
|
||||
uuid = NULL;
|
||||
} else {
|
||||
strip_cr(uuid);
|
||||
}
|
||||
}
|
||||
|
||||
if (!uuid) {
|
||||
|
|
Loading…
Reference in New Issue