From 1e945e873d3bd791354dec504e42025502c6042f Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 1 Jan 2018 22:12:07 -0800 Subject: Fix HTTP sconn race, and compile bugs introduced. --- src/nng.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nng.h') diff --git a/src/nng.h b/src/nng.h index 31b56729..05e99771 100644 --- a/src/nng.h +++ b/src/nng.h @@ -601,7 +601,7 @@ typedef enum nng_tls_auth_mode { // nng_tls_config_alloc creates a TLS configuration using // reasonable defaults. This configuration can be shared // with multiple pipes or services/servers. -NNG_DECL int nng_tls_config_init(nng_tls_config **, nng_tls_mode); +NNG_DECL int nng_tls_config_alloc(nng_tls_config **, nng_tls_mode); // nng_tls_config_free drops the reference count on the TLS // configuration object, and if zero, deallocates it. -- cgit v1.2.3-70-g09d2