git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6182 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 2004-04-01 13:12:36 +00:00
parent 66848b7881
commit dadb9b9be0
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}