fixed vars with the same name
This commit is contained in:
parent
f2a7b4ad10
commit
9466f7e920
|
|
@ -213,9 +213,9 @@ static int evrsrm_pre_reservation_response(uint8_t *evrsrm_oer, uint32_t *evrsrm
|
|||
evrsr_response->messageBody.present = EV_RSR_MessageBody_PR_preReservationResponseMessage;
|
||||
|
||||
PreReservationResponseMessage_t response = evrsr_response->messageBody.choice.preReservationResponseMessage;
|
||||
char *pre_reservation_id = calloc(1, sizeof(char) * 10);
|
||||
sprintf(pre_reservation_id, "%d", pre_reservation_id);
|
||||
response.preReservation_ID = *create_utf8_from_string(pre_reservation_id, strlen(pre_reservation_id));
|
||||
char *pre_reservation_id_s = calloc(1, sizeof(char) * 10);
|
||||
sprintf(pre_reservation_id_s, "%d", pre_reservation_id);
|
||||
response.preReservation_ID = *create_utf8_from_string(pre_reservation_id_s, strlen(pre_reservation_id_s));
|
||||
|
||||
response.availabilityStatus = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue