projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
484ba73
)
(rcmd_af): Allow AF_UNSPEC as parameter.
author
Ulrich Drepper
<drepper@redhat.com>
Tue, 3 Apr 2001 22:42:08 +0000
(22:42 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Tue, 3 Apr 2001 22:42:08 +0000
(22:42 +0000)
inet/rcmd.c
patch
|
blob
|
history
diff --git
a/inet/rcmd.c
b/inet/rcmd.c
index
04c4ac7
..
b240c8d
100644
(file)
--- a/
inet/rcmd.c
+++ b/
inet/rcmd.c
@@
-117,7
+117,7
@@
rcmd_af(ahost, rport, locuser, remuser, cmd, fd2p, af)
char num[8];
ssize_t n;
- if (af != AF_INET && af != AF_INET6)
+ if (af != AF_INET && af != AF_INET6
&& af != AF_UNSPEC
)
{
__set_errno (EAFNOSUPPORT);
return -1;