PR#2334
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6182 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
66848b7881
commit
dadb9b9be0
|
@ -61,6 +61,7 @@ value win_alloc_socket(SOCKET s)
|
|||
value res = alloc_custom(&win_handle_ops, sizeof(struct filedescr), 0, 1);
|
||||
Socket_val(res) = s;
|
||||
Descr_kind_val(res) = KIND_SOCKET;
|
||||
CRT_fd_val(res) = NO_CRT_FD;
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue