diff options
Diffstat (limited to 'otherlibs/unix/socketaddr.c')
-rw-r--r-- | otherlibs/unix/socketaddr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/otherlibs/unix/socketaddr.c b/otherlibs/unix/socketaddr.c index db1fc23b0..ebadf6340 100644 --- a/otherlibs/unix/socketaddr.c +++ b/otherlibs/unix/socketaddr.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. */ /* */ /***********************************************************************/ @@ -82,7 +82,7 @@ value alloc_sockaddr(void) case AF_UNIX: { value n = copy_string(sock_addr.s_unix.sun_path); Begin_root (n); - res = alloc(1, 0); + res = alloc_small(1, 0); Field(res,0) = n; End_roots(); break; @@ -91,7 +91,7 @@ value alloc_sockaddr(void) case AF_INET: { value a = alloc_inet_addr(sock_addr.s_inet.sin_addr.s_addr); Begin_root (a); - res = alloc(2, 1); + res = alloc_small(2, 1); Field(res,0) = a; Field(res,1) = Val_int(ntohs(sock_addr.s_inet.sin_port)); End_roots(); |