freetdm: Fix incorrect variable name leading to segfault

This commit is contained in:
Moises Silva 2012-01-26 17:22:45 -05:00
parent a1a1af579b
commit b4e8d5b608
1 changed files with 2 additions and 2 deletions

View File

@ -533,8 +533,8 @@ static void ftdm_sangoma_ss7_process_stack_event (sngss7_event_data_t *sngss7_ev
/* clone the event and save it for later usage */
event_clone = ftdm_calloc(1, sizeof(*sngss7_event));
if (event_clone) {
memcpy(clone, sngss7_event, sizeof(*sngss7_event));
ftdm_queue_enqueue(sngss7_info->event_queue, clone);
memcpy(event_clone, sngss7_event, sizeof(*sngss7_event));
ftdm_queue_enqueue(sngss7_info->event_queue, event_clone);
}
}