clang-format *ALL* the things!

PUBLISHED_FROM=faf0beb7545eb426c941fc366b6f87667723eb4c
This commit is contained in:
rojer authored and Cesanta Bot committed 2016-06-09 11:19:57 +00:00
1 parent dcf1cedec9
commit 183fc7ced9
22 files changed
+96 -88

No files matched your search

@@ -19,7 +19,7 @@
#include "mongoose.h"
static void *stdin_thread(void *param) {
int ch, sock = * (int *) param;
int ch, sock = *(int *) param;
while ((ch = getchar()) != EOF) {
unsigned char c = (unsigned char) ch;
send(sock, &c, 1, 0); // Forward all types characters to the socketpair
@@ -93,7 +93,7 @@ int main(int argc, char *argv[]) {
// The other end of a pair goes inside the server
ioconn = mg_add_sock(&mgr, fds[0], client_handler);
ioconn->flags |= MG_F_USER_1; // Mark this so we know this is a stdin
ioconn->flags |= MG_F_USER_1; // Mark this so we know this is a stdin
ioconn->user_data = server_conn;
} else {