0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-03-11 17:08:46 +00:00

Birdtest: remove bad buffer initialization

This commit is contained in:
Pavel Tvrdík 2016-03-29 10:27:50 +02:00
parent 4d33b997e6
commit decab56092

View File

@ -150,7 +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] = ""; \
char buf[BT_BUFFER_SIZE]; \
snprintf(buf, sizeof(buf), "%s(", #fn); \
bt_dump(buf, in, in_fmt); \
bt_strncat(buf, ") gives "); \