From: Grigorii Demidov Date: Tue, 6 Feb 2018 16:52:47 +0000 (+0100) Subject: daemon: cleanup errors; avoid discrepancy between declaration and definition of tls_c... X-Git-Tag: v2.1.0~12^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=931c1e662063ee7cefb1037b09c37dc389002ceb;p=thirdparty%2Fknot-resolver.git daemon: cleanup errors; avoid discrepancy between declaration and definition of tls_close() --- diff --git a/daemon/tls.h b/daemon/tls.h index 7285b4048..60a040198 100644 --- a/daemon/tls.h +++ b/daemon/tls.h @@ -93,7 +93,7 @@ struct tls_client_ctx_t { struct tls_ctx_t* tls_new(struct worker_ctx *worker); /*! Close a TLS context (call gnutls_bye()) */ -void tls_close(struct tls_ctx_t *tls); +void tls_close(struct tls_ctx_t *ctx); /*! Release a TLS context */ void tls_free(struct tls_ctx_t* tls);