mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
Small change in birdtest.h
Thanks to Martin Mares.
This commit is contained in:
parent
f12f9d9131
commit
3b59d07582
@ -150,8 +150,7 @@ void bt_strncat_(char *buf, size_t buf_size, const char *str, ...);
|
||||
#define bt_print_result_line(fn, in, out, fn_out, in_fmt, out_fmt, result) \
|
||||
do \
|
||||
{ \
|
||||
char buf[BT_BUFFER_SIZE]; \
|
||||
bzero(buf, sizeof(buf)); \
|
||||
char buf[BT_BUFFER_SIZE] = ""; \
|
||||
snprintf(buf, sizeof(buf), "%s(", #fn); \
|
||||
bt_dump(buf, in, in_fmt); \
|
||||
bt_strncat(buf, ") gives "); \
|
||||
|
Loading…
Reference in New Issue
Block a user