mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 23:37:22 +00:00
fix the bug
This commit is contained in:
parent
700fcbe39f
commit
5588fb6367
2 changed files with 2 additions and 2 deletions
|
|
@ -213,7 +213,6 @@ static void s1ap_decode_xer_print_message(
|
|||
{
|
||||
char *message_string = core_calloc(HUGE_STRING_LEN, sizeof(c_uint8_t));
|
||||
s1ap_string_total_size = 0;
|
||||
memset(message_string, 0, HUGE_STRING_LEN);
|
||||
|
||||
func(cb, message_string, message_p);
|
||||
|
||||
|
|
|
|||
|
|
@ -392,11 +392,12 @@ static void s1ap_encode_xer_print_message(
|
|||
{
|
||||
char *message_string = core_calloc(HUGE_STRING_LEN, sizeof(c_uint8_t));
|
||||
s1ap_string_total_size = 0;
|
||||
memset(message_string, 0, HUGE_STRING_LEN);
|
||||
|
||||
func(cb, message_string, message_p);
|
||||
|
||||
printf("%s\n", message_string);
|
||||
|
||||
core_free(message_string);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue