diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index aef74d3d474..06fb6858785 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3218,7 +3218,7 @@ void connect_network_socket (Lisp_Object proc, Lisp_Object ip_addresses) | |||
| 3218 | } | 3218 | } |
| 3219 | #endif | 3219 | #endif |
| 3220 | 3220 | ||
| 3221 | contact = Fplist_put (contact, p->is_server? QCremote: QClocal, | 3221 | contact = Fplist_put (contact, p->is_server? QClocal: QCremote, |
| 3222 | conv_sockaddr_to_lisp (sa, addrlen)); | 3222 | conv_sockaddr_to_lisp (sa, addrlen)); |
| 3223 | #ifdef HAVE_GETSOCKNAME | 3223 | #ifdef HAVE_GETSOCKNAME |
| 3224 | if (!p->is_server) | 3224 | if (!p->is_server) |
| @@ -3577,7 +3577,8 @@ usage: (make-network-process &rest ARGS) */) | |||
| 3577 | { | 3577 | { |
| 3578 | /* The "connection" function gets it bind info from the address we're | 3578 | /* The "connection" function gets it bind info from the address we're |
| 3579 | given, so use this dummy address if nothing is specified. */ | 3579 | given, so use this dummy address if nothing is specified. */ |
| 3580 | host = build_string ("127.0.0.1"); | 3580 | if (family != AF_LOCAL) |
| 3581 | host = build_string ("127.0.0.1"); | ||
| 3581 | } | 3582 | } |
| 3582 | else | 3583 | else |
| 3583 | { | 3584 | { |