diff options
Diffstat (limited to 'otherlibs/win32unix/channels.c')
-rw-r--r-- | otherlibs/win32unix/channels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/win32unix/channels.c b/otherlibs/win32unix/channels.c index fed88a78c..62b428e77 100644 --- a/otherlibs/win32unix/channels.c +++ b/otherlibs/win32unix/channels.c @@ -27,5 +27,5 @@ CAMLprim value win_fd_handle(value handle) CAMLprim value win_handle_fd(value fd) { - return win_alloc_handle((HANDLE) _get_osfhandle(Int_val(fd))); + return win_alloc_handle_or_socket((HANDLE) _get_osfhandle(Int_val(fd))); } |