diff options
| author | Garrett D'Amore <garrett@damore.org> | 2019-05-07 20:26:05 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2019-05-07 20:26:05 -0700 |
| commit | 2b87c219ca07aebcf6e8ff02009dca88babc04c3 (patch) | |
| tree | c4d727615f01748280b93f3abc99ac3a6c7eb488 /src/supplemental/websocket | |
| parent | c036b3e4a365a966215e383c1130c66d96aa917b (diff) | |
| download | nng-2b87c219ca07aebcf6e8ff02009dca88babc04c3.tar.gz nng-2b87c219ca07aebcf6e8ff02009dca88babc04c3.tar.bz2 nng-2b87c219ca07aebcf6e8ff02009dca88babc04c3.zip | |
Introduce nni_plat_printf()
This permits the stats dump to avoid some extra buffering,
and resolves a complaint about possible format buffer overruns.
Diffstat (limited to 'src/supplemental/websocket')
| -rw-r--r-- | src/supplemental/websocket/websocket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/supplemental/websocket/websocket.c b/src/supplemental/websocket/websocket.c index fcd2eeb3..91affc62 100644 --- a/src/supplemental/websocket/websocket.c +++ b/src/supplemental/websocket/websocket.c @@ -1443,6 +1443,7 @@ ws_listener_free(void *arg) if (l->handler != NULL) { nni_http_handler_fini(l->handler); + l->handler = NULL; } if (l->server != NULL) { nni_http_server_fini(l->server); |
