mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-25 12:04:47 +00:00
clang-format *ALL* the things!
PUBLISHED_FROM=faf0beb7545eb426c941fc366b6f87667723eb4c
This commit is contained in:
1 parent
dcf1cedec9
commit
183fc7ced9
22 files changed
+96
-88
No files matched your search
@@ -20,9 +20,10 @@ static void ev_handler(struct mg_connection *c, int ev, void *p) {
|
||||
sleep(3);
|
||||
|
||||
/* Send the reply */
|
||||
snprintf(reply, sizeof(reply), "{ \"uri\": \"%.*s\" }\n",
|
||||
(int) hm->uri.len, hm->uri.p);
|
||||
mg_printf(c, "HTTP/1.1 200 OK\r\n"
|
||||
snprintf(reply, sizeof(reply), "{ \"uri\": \"%.*s\" }\n", (int) hm->uri.len,
|
||||
hm->uri.p);
|
||||
mg_printf(c,
|
||||
"HTTP/1.1 200 OK\r\n"
|
||||
"Content-Type: application/json\r\n"
|
||||
"Content-Length: %d\r\n"
|
||||
"\r\n"
|
||||
|
||||
Reference in new issue
Block a user