From c3e062661388f70386d6766e3ce648030af340ee Mon Sep 17 00:00:00 2001 From: Jake Woltersdorf Date: Mon, 4 Mar 2019 12:35:19 +0800 Subject: fixes #901 shorter option get/set functions for all types - Renamed internal nng_*_getx/setx methods with "nni" prefix - Moved stream get/set option definition macros to options.h and added "NNI_" prefix - "_PTR" variant of get/set option definition macros is for when first arg is passed as pointer (`nng_stream *s` vs `nng_pipe s`) - New get/set option functions for `nng_socket` are `nng_socket_get_X` eschewing the previous `nng_getopt` pattern - Macro-fy legacy getopt/setopt and implement in terms of "new" API - nng_setopt* use "new" shorter API. Add missing uint64 set functions. - Shorter get/set option functions get own man page and old getopt/setopt link to them - Built with -DNNG_ENABLE_DOC=ON and part of central libnng index - Update copyright --- src/platform/windows/win_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/platform/windows') diff --git a/src/platform/windows/win_pipe.c b/src/platform/windows/win_pipe.c index c1690991..53ed4171 100644 --- a/src/platform/windows/win_pipe.c +++ b/src/platform/windows/win_pipe.c @@ -77,7 +77,7 @@ nni_plat_pipe_open(int *wfdp, int *rfdp) } // Now we have to do the accept dance. We don't care about the - // peer adddress, since know it. + // peer address, since know it. wfd = accept(afd, NULL, 0); if (wfd == INVALID_SOCKET) { goto fail; -- cgit v1.2.3-70-g09d2