aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/test_upgrade_large.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/test_upgrade_large.c')
-rw-r--r--src/microhttpd/test_upgrade_large.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/microhttpd/test_upgrade_large.c b/src/microhttpd/test_upgrade_large.c
index a4d339ad..4a6e741a 100644
--- a/src/microhttpd/test_upgrade_large.c
+++ b/src/microhttpd/test_upgrade_large.c
@@ -610,16 +610,13 @@ send_all (struct wr_socket *sock,
610 ret = wr_send (sock, 610 ret = wr_send (sock,
611 &text[off], 611 &text[off],
612 len - off); 612 len - off);
613 kick_select ();
614 if (0 > ret) 613 if (0 > ret)
615 { 614 {
616 if (MHD_SCKT_ERR_IS_EAGAIN_ (MHD_socket_get_error_ ())) 615 if (!MHD_SCKT_ERR_IS_EAGAIN_ (MHD_socket_get_error_()))
617 { 616 abort ();
618 ret = 0; 617 ret = 0;
619 continue;
620 }
621 abort ();
622 } 618 }
619 kick_select ();
623 } 620 }
624} 621}
625 622