diff mbox series

[3/3] mongoose: fix indentation

Message ID 20230130113510.142836-4-daniel@braunwarth.dev
State Accepted
Delegated to: Stefano Babic
Headers show
Series mongoose: gracefully handle broken pipe errors | expand

Commit Message

Daniel Braunwarth Jan. 30, 2023, 11:35 a.m. UTC
Signed-off-by: Daniel Braunwarth <daniel@braunwarth.dev>
Co-developed-by: Daniel Braunwarth <daniel.braunwarth@kuka.com>
Signed-off-by: Daniel Braunwarth <daniel.braunwarth@kuka.com>
---
 mongoose/mongoose_interface.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/mongoose/mongoose_interface.c b/mongoose/mongoose_interface.c
index de5efb3..4406c60 100644
--- a/mongoose/mongoose_interface.c
+++ b/mongoose/mongoose_interface.c
@@ -654,8 +654,8 @@  static void upload_handler(struct mg_connection *nc, int ev, void *ev_data,
 			ipc_end(fus->fd);
 
 			mg_http_reply(nc, 200, "%s",
-								  "Content-Type: text/plain\r\n"
-								  "Connection: close");
+				      "Content-Type: text/plain\r\n"
+				      "Connection: close");
 			mg_send(nc, "\r\n", 2);
 			mg_printf(nc, "Ok, %s - %d bytes.\r\n", mp->part.filename, (int) fus->len);
 			nc->is_draining = 1;