mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 13:28:31 +00:00
FS-11911: Fix build on Debian Buster
This commit is contained in:
1 parent
4f50a24a90
commit
a7477ed0e2
24 files changed
+36
-50
No files matched your search
+2
-2
@@ -1399,7 +1399,7 @@ ESL_DECLARE(esl_status_t) esl_recv_event(esl_handle_t *handle, int check_q, esl_
|
||||
hval = esl_event_get_header(revent, "reply-text");
|
||||
|
||||
if (!esl_strlen_zero(hval)) {
|
||||
strncpy(handle->last_reply, hval, sizeof(handle->last_reply));
|
||||
snprintf(handle->last_reply, sizeof(handle->last_reply), "%s", hval);
|
||||
}
|
||||
|
||||
hval = esl_event_get_header(revent, "content-type");
|
||||
@@ -1597,7 +1597,7 @@ ESL_DECLARE(esl_status_t) esl_send_recv_timed(esl_handle_t *handle, const char *
|
||||
hval = esl_event_get_header(handle->last_sr_event, "reply-text");
|
||||
|
||||
if (!esl_strlen_zero(hval)) {
|
||||
strncpy(handle->last_sr_reply, hval, sizeof(handle->last_sr_reply));
|
||||
snprintf(handle->last_sr_reply, sizeof(handle->last_sr_reply), "%s", hval);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user