diff options
| author | Juanma Barranquero | 2007-03-27 15:19:33 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-03-27 15:19:33 +0000 |
| commit | ded83665701c9501162b6a7599ada92c187c44f9 (patch) | |
| tree | 83e5fbe07d85f09c2fc4fa805668dedd0faa425c /src/process.c | |
| parent | 42dd207e8c8697c7ecef246360cb70319280562a (diff) | |
| download | emacs-ded83665701c9501162b6a7599ada92c187c44f9.tar.gz emacs-ded83665701c9501162b6a7599ada92c187c44f9.zip | |
(Fformat_network_address): Make room in args array to format IPv6 addresses.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index b5e8f10bfab..4f6d2832f8d 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1268,7 +1268,7 @@ Returns nil if format of ADDRESS is invalid. */) | |||
| 1268 | if (VECTORP (address)) /* AF_INET or AF_INET6 */ | 1268 | if (VECTORP (address)) /* AF_INET or AF_INET6 */ |
| 1269 | { | 1269 | { |
| 1270 | register struct Lisp_Vector *p = XVECTOR (address); | 1270 | register struct Lisp_Vector *p = XVECTOR (address); |
| 1271 | Lisp_Object args[6]; | 1271 | Lisp_Object args[10]; |
| 1272 | int nargs, i; | 1272 | int nargs, i; |
| 1273 | 1273 | ||
| 1274 | if (p->size == 4 || (p->size == 5 && !NILP (omit_port))) | 1274 | if (p->size == 4 || (p->size == 5 && !NILP (omit_port))) |
| @@ -1305,7 +1305,6 @@ Returns nil if format of ADDRESS is invalid. */) | |||
| 1305 | args[0] = build_string ("<Family %d>"); | 1305 | args[0] = build_string ("<Family %d>"); |
| 1306 | args[1] = Fcar (address); | 1306 | args[1] = Fcar (address); |
| 1307 | return Fformat (2, args); | 1307 | return Fformat (2, args); |
| 1308 | |||
| 1309 | } | 1308 | } |
| 1310 | 1309 | ||
| 1311 | return Qnil; | 1310 | return Qnil; |