aboutsummaryrefslogtreecommitdiff
path: root/src/nng.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-01-01 22:12:07 -0800
committerGarrett D'Amore <garrett@damore.org>2018-01-01 22:12:07 -0800
commit1e945e873d3bd791354dec504e42025502c6042f (patch)
tree8c7aafedabd36bb0ecb65da68acf8818aba78aa1 /src/nng.h
parent7e83c78ad2c98a7c32a1b9557deaa13723e75b02 (diff)
downloadnng-1e945e873d3bd791354dec504e42025502c6042f.tar.gz
nng-1e945e873d3bd791354dec504e42025502c6042f.tar.bz2
nng-1e945e873d3bd791354dec504e42025502c6042f.zip
Fix HTTP sconn race, and compile bugs introduced.
Diffstat (limited to 'src/nng.h')
-rw-r--r--src/nng.h2
1 files changed, 1 insertions, 1 deletions
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.