From: Aki Tuomi Date: Fri, 17 Mar 2017 08:23:42 +0000 (+0200) Subject: test: lib-program-client: Use i_close_fd instead of close X-Git-Tag: 2.3.0.rc1~1837 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f99d5a1b52247efcfd9688e830c861f92608cca;p=thirdparty%2Fdovecot%2Fcore.git test: lib-program-client: Use i_close_fd instead of close --- diff --git a/src/lib-program-client/test-program-client-unix.c b/src/lib-program-client/test-program-client-unix.c index 9e56d6103b..019e39228e 100644 --- a/src/lib-program-client/test-program-client-unix.c +++ b/src/lib-program-client/test-program-client-unix.c @@ -76,7 +76,7 @@ void test_program_client_destroy(struct test_client **_client) o_stream_unref(&client->os_body); if (client->body != NULL) i_stream_unref(&client->body); - close(client->fd); + i_close_fd(&client->fd); pool_unref(&client->pool); test_globals.client = NULL; }