From b92672e20420683e73bfc017956ac6ef2b6b793b Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 22 Dec 2016 01:05:43 -0800 Subject: Logic for socket shutdown, cleanup, and draining figured out. There's work to do still, but I've left clear indications of the design in comments. Some ugly mysteries are now solved. --- src/nng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nng.c') 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)); } -- cgit v1.2.3-70-g09d2