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)
471471 INITIALIZE (client , 1 , client_delivery_latencies );
472472
473473 for (i = 0 ; i < SEND_SIZE ; i ++ )
474- /* send_data = "aBcDeFgH ..." */
474+ /* send_data = "aBcDeFgHiJ ..." */
475475 send_data [i ] = 'a' + (char )(i %26 ) + (char )(('A' - 'a' ) * (i %2 ));
476476
477477 curvecpr_bytes_zero (recv_data , SEND_SIZE );
478478
479- add_to_send_queue (& client , send_data , sizeof ( send_data ) );
479+ add_to_send_queue (& client , send_data , SEND_SIZE );
480480
481481 while (!(are_all_queues_empty (server_helper ) && are_all_queues_empty (client_helper )))
482482 {
@@ -502,9 +502,9 @@ START_TEST (test_delivery)
502502 deliver_packet (client_helper , & server );
503503 }
504504
505- fail_unless (get_received_size (server_helper ) == sizeof ( recv_data ) );
505+ fail_unless (get_received_size (server_helper ) == SEND_SIZE );
506506 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 ));
508508
509509 free (server_helper );
510510 free (client_helper );
You can’t perform that action at this time.
0 commit comments