- memory allocation tests removed
[strongswan.git] / Source / charon / testcases / receiver_test.c
index a1dd35e..fb5c48e 100644 (file)
@@ -72,7 +72,7 @@ void test_receiver(tester_t *tester)
 
        for (i = 0; i < NUMBER_OF_PACKETS_TO_SEND; i++)
        {
-               global_job_queue->get(global_job_queue,&job);
+               job = global_job_queue->get(global_job_queue);
                tester->assert_true(tester, (job->get_type(job) == INCOMING_PACKET), "job type check");
                
                ((incoming_packet_job_t *)(job))->get_packet((incoming_packet_job_t *)(job),&received_packet);