changeset 76760:c21bd0559ef9

(Fformat_network_address): Make room in args array to format IPv6 addresses.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 27 Mar 2007 15:19:33 +0000
parents f3f970a1fb71
children c82a3be1debd
files src/process.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Tue Mar 27 15:06:05 2007 +0000
+++ b/src/process.c	Tue Mar 27 15:19:33 2007 +0000
@@ -1268,7 +1268,7 @@
   if (VECTORP (address))  /* AF_INET or AF_INET6 */
     {
       register struct Lisp_Vector *p = XVECTOR (address);
-      Lisp_Object args[6];
+      Lisp_Object args[10];
       int nargs, i;
 
       if (p->size == 4 || (p->size == 5 && !NILP (omit_port)))
@@ -1305,7 +1305,6 @@
       args[0] = build_string ("<Family %d>");
       args[1] = Fcar (address);
       return Fformat (2, args);
-
     }
 
   return Qnil;