From 3be947947e3249a9b362fc790d377e43c4108a62 Mon Sep 17 00:00:00 2001 From: Damien Doligez Date: Mon, 26 Oct 1998 19:19:32 +0000 Subject: nouvelles fonctions alloc/alloc_small git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2134 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- otherlibs/unix/accept.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'otherlibs/unix/accept.c') diff --git a/otherlibs/unix/accept.c b/otherlibs/unix/accept.c index 8d2c2fd5b..d41eba262 100644 --- a/otherlibs/unix/accept.c +++ b/otherlibs/unix/accept.c @@ -5,7 +5,7 @@ /* Xavier Leroy, projet Cristal, INRIA Rocquencourt */ /* */ /* Copyright 1996 Institut National de Recherche en Informatique et */ -/* Automatique. Distributed only by permission. */ +/* en Automatique. Distributed only by permission. */ /* */ /***********************************************************************/ @@ -34,7 +34,7 @@ value unix_accept(value sock) /* ML */ if (retcode == -1) uerror("accept", Nothing); a = alloc_sockaddr(); Begin_root (a); - res = alloc_tuple(2); + res = alloc_small(2, 0); Field(res, 0) = Val_int(retcode); Field(res, 1) = a; End_roots(); -- cgit v1.2.3-70-g09d2