mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
FS-9904 fix assert from the last refactor
This commit is contained in:
parent
189786d49b
commit
d6b5058efa
@ -1288,6 +1288,8 @@ static void *SWITCH_THREAD_FUNC msrp_worker(switch_thread_t *thread, void *obj)
|
||||
|
||||
if (p + len > last_p) { // unparsed msg in buffer
|
||||
p += len;
|
||||
len = MSRP_BUFF_SIZE - (p - buf);
|
||||
|
||||
if (!msrp_msg) {
|
||||
int rest_len = p - last_p;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user