diff options
author | Richard M. Stallman <rms@gnu.org> | 2006-04-12 15:00:32 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2006-04-12 15:00:32 +0000 |
commit | 49378963562e6b91c7398e808896c72ddc89e433 (patch) | |
tree | 6670aa231b4431d2980cc180910961dd0b6f5ef0 /src/process.c | |
parent | fbadb425c1f17918b3f6c695d2317c4e4a33cf1d (diff) | |
download | emacs-49378963562e6b91c7398e808896c72ddc89e433.tar.gz |
(conv_lisp_to_sockaddr): If FAMILY unknown, just return.
Diffstat (limited to 'src/process.c')
-rw-r--r-- | src/process.c | 5 |
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)) { |