commit 6722cf7dd0089991d425ca882c373c34b36ae45e
parent 15672269083796ccf82bef665fb2cc586c575f0a
Author: ng0 <ng0@n0.is>
Date: Sun, 21 Jul 2019 15:34:10 +0000
indent
Diffstat:
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
@@ -371,15 +371,15 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection,
eno = errno;
if ((ret == header_len + buffer_len) && have_cork)
- {
- // Response complete, definitely uncork!
- if (0 == setsockopt (s,
- IPPROTO_TCP,
- TCP_CORK,
- (const void *) &off_val,
- sizeof (off_val)))
- ;
- }
+ {
+ // Response complete, definitely uncork!
+ if (0 == setsockopt (s,
+ IPPROTO_TCP,
+ TCP_CORK,
+ (const void *) &off_val,
+ sizeof (off_val)))
+ ;
+ }
errno = eno;
}
return ret;