From 7df0165712bb6ca623830ac55c548696c83e8647 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 31 Dec 2017 13:31:02 -0800 Subject: Rename config init/fini to alloc/free, add documentation for them. --- src/supplemental/http/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/supplemental/http/client.c') diff --git a/src/supplemental/http/client.c b/src/supplemental/http/client.c index 4bb517ce..b1794f93 100644 --- a/src/supplemental/http/client.c +++ b/src/supplemental/http/client.c @@ -89,7 +89,7 @@ nni_http_client_fini(nni_http_client *c) nni_mtx_fini(&c->mtx); #ifdef NNG_SUPP_TLS if (c->tls != NULL) { - nng_tls_config_fini(c->tls); + nni_tls_config_fini(c->tls); } #endif NNI_FREE_STRUCT(c); @@ -134,7 +134,7 @@ nni_http_client_set_tls(nni_http_client *c, nng_tls_config *tls) } nni_mtx_unlock(&c->mtx); if (old != NULL) { - nng_tls_config_fini(old); + nni_tls_config_fini(old); } return (0); } -- cgit v1.2.3-70-g09d2