From: Stephen Seo Date: Thu, 29 Aug 2024 07:25:30 +0000 (+0900) Subject: Minor formatting fix X-Git-Tag: 1.0~104 X-Git-Url: https://git.seodisparate.com/stephenseo/css/fontawesome.min.css?a=commitdiff_plain;h=cc21e5d20574309bdf3ebdccfe4b595c31955f35;p=c_simple_http Minor formatting fix --- diff --git a/src/main.c b/src/main.c index 50a2933..9666da7 100644 --- a/src/main.c +++ b/src/main.c @@ -73,7 +73,9 @@ int main(int argc, char **argv) { read_ret = read(connection_fd, recv_buf, C_SIMPLE_HTTP_RECV_BUF_SIZE); // DEBUG print received buf. // TODO Validate request and send response. - for (unsigned int idx = 0; idx < C_SIMPLE_HTTP_RECV_BUF_SIZE && idx < read_ret; ++idx) { + for (unsigned int idx = 0; + idx < C_SIMPLE_HTTP_RECV_BUF_SIZE && idx < read_ret; + ++idx) { if (recv_buf[idx] >= 0x20 && recv_buf[idx] <= 0x7E) { printf("%c", recv_buf[idx]); } else {