From 9b886a9999247d87c9f6d389c3e65a4bd39be010 Mon Sep 17 00:00:00 2001 From: Vincent Nonnenmacher Date: Fri, 16 Mar 2018 15:06:34 +0100 Subject: Fixes issues found by (and submitted by) @nonnenmacher when working on a python wrapper (cffi). Mostly this is fixing inconsistencies in our public API and the actual implementation. --- src/transport/ws/websocket.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/transport') diff --git a/src/transport/ws/websocket.c b/src/transport/ws/websocket.c index f0172385..2aeb6e29 100644 --- a/src/transport/ws/websocket.c +++ b/src/transport/ws/websocket.c @@ -976,5 +976,11 @@ nng_wss_register(void) { return (nni_tran_register(&wss_tran)); } +#else +int +nng_wss_register(void) +{ + return (0); +} #endif // NNG_TRANSPORT_WSS -- cgit v1.2.3-70-g09d2