present from tony

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3111 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-10-19 19:09:51 +00:00
parent 858cc7fa19
commit ce984a90fe
1 changed files with 6 additions and 2 deletions

View File

@ -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) {