aboutsummaryrefslogtreecommitdiff
path: root/src/nng.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nng.c')
-rw-r--r--src/nng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nng.c b/src/nng.c
index a2398a9d..d818424a 100644
--- a/src/nng.c
+++ b/src/nng.c
@@ -47,7 +47,7 @@ uint16_t
nng_socket_protocol(nng_socket_t s)
{
nni_init();
- return (nni_socket_protocol(s));
+ return (nni_socket_proto(s));
}