aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-06-07 21:28:28 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-06-07 21:28:28 +0300
commit109311446eeecf5341b5f39a04016833c1ffc0d0 (patch)
treeee186c1bf460b3806f353d3bbc609cf052bd3e50
parentb1a5840766481d9b1ce3836a176681367897cf1f (diff)
downloadlibmicrohttpd-109311446eeecf5341b5f39a04016833c1ffc0d0.tar.gz
libmicrohttpd-109311446eeecf5341b5f39a04016833c1ffc0d0.zip
test_str: fixed code style
-rw-r--r--src/microhttpd/test_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/test_str.c b/src/microhttpd/test_str.c
index fbe06270..341585a2 100644
--- a/src/microhttpd/test_str.c
+++ b/src/microhttpd/test_str.c
@@ -244,7 +244,7 @@ n_prnt (const char *str)
244{ 244{
245 static char *buf; /* should be enough for testing */ 245 static char *buf; /* should be enough for testing */
246 static const size_t buf_size = sizeof(tmp_bufs[0]); 246 static const size_t buf_size = sizeof(tmp_bufs[0]);
247 const unsigned char *p = (const unsigned char*) str; 247 const unsigned char *p = (const unsigned char *) str;
248 size_t w_pos = 0; 248 size_t w_pos = 0;
249 if (++buf_idx > 3) 249 if (++buf_idx > 3)
250 buf_idx = 0; 250 buf_idx = 0;