Skip to content

Commit 06553fe

Browse files
committed
Code formatting fine-tuning for example/main_zc.
1 parent c0a9f53 commit 06553fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

example/main_zc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ int sockfd;
2525
int sockfd6;
2626
#endif
2727

28-
char html[] =
28+
char html[] =
2929
"HTTP/1.1 200 OK\r\n"
3030
"Server: F-Stack\r\n"
3131
"Date: Sat, 25 Feb 2017 09:26:33 GMT\r\n"
@@ -58,7 +58,7 @@ char html[] =
5858
"</html>";
5959

6060

61-
char html1[] =
61+
char html1[] =
6262
"HTTP/1.1 200 OK\r\n"
6363
"Server: F-Stack\r\n"
6464
"Date: Sat, 25 Feb 2017 09:26:33 GMT\r\n"
@@ -94,7 +94,7 @@ char html1[] =
9494
"</body>\r\n"
9595
"</html>";
9696

97-
char html2[] =
97+
char html2[] =
9898
"HTTP/1.1 200 OK\r\n"
9999
"Server: F-Stack\r\n"
100100
"Date: Sat, 25 Feb 2017 09:26:33 GMT\r\n"
@@ -195,7 +195,7 @@ int loop(void *arg)
195195
printf("ff_zc_mbuf_write failed, len:%d, errno:%d, %s\n", to_write_len, errno, strerror(errno));
196196
exit(1);
197197
}
198-
off += to_write_len;
198+
off += to_write_len;
199199
}
200200

201201
/* Or call ff_zc_mbuf_write one time */

0 commit comments

Comments
 (0)