aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorKim F. Storm2006-01-05 09:24:11 +0000
committerKim F. Storm2006-01-05 09:24:11 +0000
commit87b6ca8d4e67921065dae4f0633f44d966f65a59 (patch)
tree2ca59c009e3363cb861ba1cb19d04a3069842908 /src/process.c
parentc22cc558646203c3e4a49bac8be9f1a0c7f4a768 (diff)
downloademacs-87b6ca8d4e67921065dae4f0633f44d966f65a59.tar.gz
emacs-87b6ca8d4e67921065dae4f0633f44d966f65a59.zip
(Fmake_network_process): Use AF_INET instead of
AF_UNSPEC when AF_INET6 is not defined.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c2
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;