Commit 2cb934ac authored by Melissa Elkadi's avatar Melissa Elkadi

Didnt mean to redefine variables in 1c117085

This commit fixes commit 1c117085 which
we are redefining data_buffer and size_to_write.
parent 1c117085
...@@ -462,8 +462,8 @@ static void deliver_sdu_drb(void *_ue, nr_pdcp_entity_t *entity, ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment