[PATCH] tests: Fix typo in recent test change
A missing } caused 'make check' to fail. While at it, use TAB
consistently.
Fixes: af309d8a ("nbd-server: fix bug in auth for v6-mapped IPv4 addresses")
CC: 吕梦昭10286442 <lv.mengzhao@zte.com.cn>
Signed-off-by: Eric Blake <eblake@redhat.com>
---
Pushed as obvious.
tests/code/clientacl.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/code/clientacl.c b/tests/code/clientacl.c
index 3bceb2f..da614fd 100644
--- a/tests/code/clientacl.c
+++ b/tests/code/clientacl.c
@@ -29,8 +29,9 @@ bool do_test(char* address, char* netmask) {
while(res) {
if((err = getnameinfo((struct sockaddr*)res->ai_addr, res->ai_addrlen, buf,
sizeof (buf), NULL, 0, NI_NUMERICHOST))) {
- fprintf(stderr, "E: %s\n", gai_strerror(err));
- exit(EXIT_FAILURE);
+ fprintf(stderr, "E: %s\n", gai_strerror(err));
+ exit(EXIT_FAILURE);
+ }
printf("Found %s\n", buf);
--
2.37.3
Reply to: