We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e558963 commit ffce5abCopy full SHA for ffce5ab
test/unit/tcp/test_tcp.c
@@ -534,15 +534,13 @@ START_TEST(test_tcp_fast_retx_recover)
534
EXPECT_RET(txcounters.num_tx_calls == 0);
535
EXPECT_RET(txcounters.num_tx_bytes == 0);
536
memset(&txcounters, 0, sizeof(txcounters));
537
+
538
+ do
539
{
- int i = 0;
- do
540
- {
541
- err = tcp_write(pcb, data6, TCP_MSS, TCP_WRITE_FLAG_COPY);
542
- i++;
543
- }while(err == ERR_OK);
544
- EXPECT_RET(err != ERR_OK);
545
- }
+ err = tcp_write(pcb, data6, TCP_MSS, TCP_WRITE_FLAG_COPY);
+ }while(err == ERR_OK);
+ EXPECT_RET(err != ERR_OK);
546
err = tcp_output(pcb);
547
EXPECT_RET(err == ERR_OK);
548
/*EXPECT_RET(txcounters.num_tx_calls == 0);
0 commit comments