Mercurial > hg > th-libs
changeset 291:886a42023415
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 22 Feb 2016 16:00:55 +0200 |
parents | 56b0de9f9d44 |
children | 54032f17c7e5 |
files | tests.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests.c Wed Feb 17 17:24:02 2016 +0200 +++ b/tests.c Mon Feb 22 16:00:55 2016 +0200 @@ -5,7 +5,10 @@ #include "th_crypto.h" #define SET_BUF_SIZE 128 +#define SET_SENTINEL_BYTE 0x0e5 + +// Globals char *test_str_header = NULL, *test_str_res = NULL; @@ -111,7 +114,6 @@ } -#define SET_SENTINEL_BYTE 0x0e5 void test_snprintf_do(size_t len, const char *fmt, va_list ap, const char *msg) { @@ -153,7 +155,8 @@ va_copy(tmp, ap); test_snprintf_do(16, fmt, tmp, "16"); va_copy(tmp, ap); test_snprintf_do(SET_BUF_SIZE, fmt, tmp, "SET_BUF_SIZE"); va_end(ap); - THPRINT(2, "----------------------------------------------\n"); + THPRINT(2, + "-----------------------------------------------------\n"); }