1
0
mirror of https://github.com/lammertb/libhttp.git synced 2026-01-03 16:02:30 +03:00

Re-format source

This commit is contained in:
bel
2016-03-21 22:44:49 +01:00
parent 6a5cdc470e
commit 1ef0bc06c1
2 changed files with 9 additions and 9 deletions

View File

@@ -35,7 +35,7 @@
#if defined(_WIN32)
#include <Windows.h>
#define test_sleep(x) (Sleep(x * 1000))
#define test_sleep(x) (Sleep((x)*1000))
#else
#include <unistd.h>
#define test_sleep(x) (sleep(x))
@@ -863,6 +863,7 @@ START_TEST(test_request_handlers)
ck_assert(ri != NULL);
ck_assert_str_eq(ri->uri, "200");
i = mg_read(client_conn, buf, sizeof(buf));
ck_assert(i < sizeof(buf));
ck_assert_int_eq(i, (int)strlen(expected));
buf[i] = 0;
ck_assert_str_eq(buf, expected);