backports from the p2p-nat-t branch:
* double assignment of function ''destroy'' in some jobs * typos
This commit is contained in:
@@ -104,7 +104,6 @@ roam_job_t *roam_job_create(bool address)
|
||||
{
|
||||
private_roam_job_t *this = malloc_thing(private_roam_job_t);
|
||||
|
||||
this->public.job_interface.destroy = (void (*) (job_t *)) destroy;
|
||||
this->public.job_interface.execute = (void (*) (job_t *)) execute;
|
||||
this->public.job_interface.destroy = (void (*) (job_t *)) destroy;
|
||||
|
||||
|
||||
@@ -86,7 +86,6 @@ send_dpd_job_t *send_dpd_job_create(ike_sa_id_t *ike_sa_id)
|
||||
private_send_dpd_job_t *this = malloc_thing(private_send_dpd_job_t);
|
||||
|
||||
/* interface functions */
|
||||
this->public.job_interface.destroy = (void (*) (job_t *)) destroy;
|
||||
this->public.job_interface.execute = (void (*) (job_t *)) execute;
|
||||
this->public.job_interface.destroy = (void (*) (job_t *)) destroy;
|
||||
|
||||
|
||||
@@ -80,7 +80,6 @@ send_keepalive_job_t *send_keepalive_job_create(ike_sa_id_t *ike_sa_id)
|
||||
private_send_keepalive_job_t *this = malloc_thing(private_send_keepalive_job_t);
|
||||
|
||||
/* interface functions */
|
||||
this->public.job_interface.destroy = (void (*) (job_t *)) destroy;
|
||||
this->public.job_interface.execute = (void (*) (job_t *)) execute;
|
||||
this->public.job_interface.destroy = (void (*) (job_t *)) destroy;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user