diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-13 00:00:47 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-13 00:00:47 -0800 |
| commit | b639e4d3643b8245b77bc8707a3a864221fad195 (patch) | |
| tree | aa21c05f7ce8a1fd388b1eb1189e38e66f79e068 /src/platform/windows/win_ipc.c | |
| parent | 2bb6a23037656474a90d869c5147b32bae1a2e40 (diff) | |
| download | nng-b639e4d3643b8245b77bc8707a3a864221fad195.tar.gz nng-b639e4d3643b8245b77bc8707a3a864221fad195.tar.bz2 nng-b639e4d3643b8245b77bc8707a3a864221fad195.zip | |
Many fixes for Windows. It compiles, and some tests work.
Windows is getting there. Needs a couple of more more hours to enable
everything, especially IPC, and most of the work at this point is probably
some combination of debug and tweaking things like error handling.
Diffstat (limited to 'src/platform/windows/win_ipc.c')
| -rw-r--r-- | src/platform/windows/win_ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/windows/win_ipc.c b/src/platform/windows/win_ipc.c index 9ede99e0..682eb0a8 100644 --- a/src/platform/windows/win_ipc.c +++ b/src/platform/windows/win_ipc.c @@ -126,7 +126,7 @@ void nni_plat_ipc_fini(nni_plat_ipcsock *s) { if (s->p != INVALID_HANDLE_VALUE) { - (void) CloseHandle(s->fd); + (void) CloseHandle(s->p); s->p = INVALID_HANDLE_VALUE; } } |
