From b639e4d3643b8245b77bc8707a3a864221fad195 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 13 Jan 2017 00:00:47 -0800 Subject: 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. --- src/platform/windows/win_ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/platform/windows/win_ipc.c') 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; } } -- cgit v1.2.3-70-g09d2