From 438033e26f83364125eb1ba21dee00b995cace6c Mon Sep 17 00:00:00 2001 From: pyama86 Date: Wed, 20 Feb 2019 19:24:56 +0900 Subject: [PATCH] fix test --- stns.h | 2 ++ stns_test.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/stns.h b/stns.h index f5ad882..3c05b73 100644 --- a/stns.h +++ b/stns.h @@ -289,6 +289,8 @@ extern void set_group_lowest_id(int); } else { \ str_or_int(t##_##m, empty) \ } \ + } else { \ + str_or_int(t##_##m, empty) \ } #define UNLOAD_TOML_BYKEY(m) \ diff --git a/stns_test.c b/stns_test.c index 927a206..a4fdf7b 100644 --- a/stns_test.c +++ b/stns_test.c @@ -71,6 +71,8 @@ Test(stns_request, http_request) c.user = NULL; c.password = NULL; c.query_wrapper = NULL; + c.tls_cert = NULL; + c.tls_key = NULL; c.request_timeout = 3; c.request_retry = 3; c.auth_token = NULL;