diff options
| author | Kim F. Storm | 2006-01-05 09:24:11 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-01-05 09:24:11 +0000 |
| commit | 87b6ca8d4e67921065dae4f0633f44d966f65a59 (patch) | |
| tree | 2ca59c009e3363cb861ba1cb19d04a3069842908 | |
| parent | c22cc558646203c3e4a49bac8be9f1a0c7f4a768 (diff) | |
| download | emacs-87b6ca8d4e67921065dae4f0633f44d966f65a59.tar.gz emacs-87b6ca8d4e67921065dae4f0633f44d966f65a59.zip | |
(Fmake_network_process): Use AF_INET instead of
AF_UNSPEC when AF_INET6 is not defined.
| -rw-r--r-- | src/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index 3dfbf969c30..526e3518390 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -2921,7 +2921,7 @@ usage: (make-network-process &rest ARGS) */) | |||
| 2921 | tem = Fplist_get (contact, QCfamily); | 2921 | tem = Fplist_get (contact, QCfamily); |
| 2922 | if (NILP (tem)) | 2922 | if (NILP (tem)) |
| 2923 | { | 2923 | { |
| 2924 | #ifdef HAVE_GETADDRINFO | 2924 | #if defined(HAVE_GETADDRINFO) && defined(AF_INET6) |
| 2925 | family = AF_UNSPEC; | 2925 | family = AF_UNSPEC; |
| 2926 | #else | 2926 | #else |
| 2927 | family = AF_INET; | 2927 | family = AF_INET; |