Didnt mean to redefine variables in 1c11708501
This commit fixes commit 1c11708501 which
we are redefining data_buffer and size_to_write.
This commit is contained in:
@@ -462,8 +462,8 @@ static void deliver_sdu_drb(void *_ue, nr_pdcp_entity_t *entity,
|
|||||||
char *data_buffer = buf;
|
char *data_buffer = buf;
|
||||||
int size_to_write = size;
|
int size_to_write = size;
|
||||||
if (buf[0] == 0) {
|
if (buf[0] == 0) {
|
||||||
char *data_buffer = buf + 1;
|
data_buffer = buf + 1;
|
||||||
int size_to_write = size - 1;
|
size_to_write = size - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user