File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
libcurvecpr/test/messager Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -471,12 +471,12 @@ START_TEST (test_delivery)
471
471
INITIALIZE (client , 1 , client_delivery_latencies );
472
472
473
473
for (i = 0 ; i < SEND_SIZE ; i ++ )
474
- /* send_data = "aBcDeFgH ..." */
474
+ /* send_data = "aBcDeFgHiJ ..." */
475
475
send_data [i ] = 'a' + (char )(i %26 ) + (char )(('A' - 'a' ) * (i %2 ));
476
476
477
477
curvecpr_bytes_zero (recv_data , SEND_SIZE );
478
478
479
- add_to_send_queue (& client , send_data , sizeof ( send_data ) );
479
+ add_to_send_queue (& client , send_data , SEND_SIZE );
480
480
481
481
while (!(are_all_queues_empty (server_helper ) && are_all_queues_empty (client_helper )))
482
482
{
@@ -502,9 +502,9 @@ START_TEST (test_delivery)
502
502
deliver_packet (client_helper , & server );
503
503
}
504
504
505
- fail_unless (get_received_size (server_helper ) == sizeof ( recv_data ) );
505
+ fail_unless (get_received_size (server_helper ) == SEND_SIZE );
506
506
get_received_data (server_helper , recv_data );
507
- fail_unless (curvecpr_bytes_equal (send_data , recv_data , sizeof ( send_data ) ));
507
+ fail_unless (curvecpr_bytes_equal (send_data , recv_data , SEND_SIZE ));
508
508
509
509
free (server_helper );
510
510
free (client_helper );
You can’t perform that action at this time.
0 commit comments