diff options
Diffstat (limited to 'otherlibs/win32unix/accept.c')
-rw-r--r-- | otherlibs/win32unix/accept.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/win32unix/accept.c b/otherlibs/win32unix/accept.c index ec7068bd3..f751c3e39 100644 --- a/otherlibs/win32unix/accept.c +++ b/otherlibs/win32unix/accept.c @@ -57,7 +57,7 @@ CAMLprim value unix_accept(sock) } Begin_roots2 (fd, adr) fd = win_alloc_socket(snew); - adr = alloc_sockaddr(&addr, addr_len); + adr = alloc_sockaddr(&addr, addr_len, snew); res = alloc_small(2, 0); Field(res, 0) = fd; Field(res, 1) = adr; |