summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p11-kit/test-transport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/p11-kit/test-transport.c b/p11-kit/test-transport.c
index 1a9f603..c128e54 100644
--- a/p11-kit/test-transport.c
+++ b/p11-kit/test-transport.c
@@ -180,6 +180,7 @@ launch_server (void)
assert (FD_ISSET (fd, &fds));
+ sa_len = sizeof (sa);
nfd = accept (fd, (struct sockaddr *)&sa, &sa_len);
assert_num_cmp (rc, !=, -1);
close (fd);