summaryrefslogtreecommitdiff
path: root/src/process.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-04-12 15:00:32 +0000
committerRichard M. Stallman <rms@gnu.org>2006-04-12 15:00:32 +0000
commit49378963562e6b91c7398e808896c72ddc89e433 (patch)
tree6670aa231b4431d2980cc180910961dd0b6f5ef0 /src/process.c
parentfbadb425c1f17918b3f6c695d2317c4e4a33cf1d (diff)
downloademacs-49378963562e6b91c7398e808896c72ddc89e433.tar.gz
(conv_lisp_to_sockaddr): If FAMILY unknown, just return.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 08c515d34e0..29c93052369 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2322,7 +2322,9 @@ get_lisp_to_sockaddr_size (address, familyp)
}
/* Convert an address object (vector or string) to an internal sockaddr.
- Format of address has already been validated by size_lisp_to_sockaddr. */
+ Address format has already been validated by get_lisp_to_sockaddr_size,
+ but just to be nice, we return without doing anything
+ if FAMILY is not valid. */
static void
conv_lisp_to_sockaddr (family, address, sa, len)
@@ -2366,6 +2368,7 @@ conv_lisp_to_sockaddr (family, address, sa, len)
return;
}
#endif
+ return;
}
else if (STRINGP (address))
{