mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Remove useless if statement
This commit is contained in:
parent
449c3f12cc
commit
f4ba43c81b
|
@ -395,12 +395,6 @@ NEW_MULTIPARTED:
|
|||
*/
|
||||
if (session->mcb) {
|
||||
session->mp = new_message(net_ntohs(header->tlen) + sizeof(struct RTPHeader), data, length);
|
||||
|
||||
/* Reposition data if necessary */
|
||||
if (net_ntohs(header->cpart)) {
|
||||
;
|
||||
}
|
||||
|
||||
memmove(session->mp->data + net_ntohs(header->cpart), session->mp->data, session->mp->len);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user