summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/getpeername.c
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2005-03-24 17:20:54 +0000
committerDamien Doligez <damien.doligez-inria.fr>2005-03-24 17:20:54 +0000
commite6007f6057d1d4e68a5618f232953344b683a168 (patch)
treeee5baa59e5eb0ebc4354bd215bd3c682986bf632 /otherlibs/win32unix/getpeername.c
parent958bd6c49292afa23e5fee51770c45d1f8499faa (diff)
fusion des changements jusqu'a 3.08.3
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6824 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/getpeername.c')
-rw-r--r--otherlibs/win32unix/getpeername.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/win32unix/getpeername.c b/otherlibs/win32unix/getpeername.c
index 4460a7917..9aeb4c21b 100644
--- a/otherlibs/win32unix/getpeername.c
+++ b/otherlibs/win32unix/getpeername.c
@@ -31,5 +31,5 @@ CAMLprim value unix_getpeername(sock)
win32_maperr(WSAGetLastError());
uerror("getpeername", Nothing);
}
- return alloc_sockaddr(&addr, addr_len);
+ return alloc_sockaddr(&addr, addr_len, -1);
}