mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-07 13:35:00 +00:00
windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10908 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
6881efcf6c
commit
33afc2a6d9
@ -738,7 +738,7 @@ esl_status_t esl_recv_event(esl_handle_t *handle, esl_event_t **save_event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (revent) {
|
if (revent) {
|
||||||
const char *hval = esl_event_get_header(revent, "reply-text");
|
hval = esl_event_get_header(revent, "reply-text");
|
||||||
|
|
||||||
if (!esl_strlen_zero(hval)) {
|
if (!esl_strlen_zero(hval)) {
|
||||||
strncpy(handle->last_reply, hval, sizeof(handle->last_reply));
|
strncpy(handle->last_reply, hval, sizeof(handle->last_reply));
|
||||||
@ -750,12 +750,6 @@ esl_status_t esl_recv_event(esl_handle_t *handle, esl_event_t **save_event)
|
|||||||
const char *en;
|
const char *en;
|
||||||
esl_event_types_t et = ESL_EVENT_COMMAND;
|
esl_event_types_t et = ESL_EVENT_COMMAND;
|
||||||
char *body = strdup(revent->body);
|
char *body = strdup(revent->body);
|
||||||
char *beg;
|
|
||||||
char *hname, *hval;
|
|
||||||
char *col;
|
|
||||||
char *cl;
|
|
||||||
esl_ssize_t len;
|
|
||||||
char *c;
|
|
||||||
|
|
||||||
esl_event_safe_destroy(&handle->last_ievent);
|
esl_event_safe_destroy(&handle->last_ievent);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user