]> git.decadent.org.uk Git - nfs-utils.git/commit
support: Don't return RPC_UNKNOWNHOST from rpc_socket.c
authorChuck Lever <chuck.lever@oracle.com>
Tue, 14 Jul 2009 20:17:28 +0000 (16:17 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 14 Jul 2009 20:17:28 +0000 (16:17 -0400)
commit56a1b590d2f60e62feb3589a7b5b6fab2fed75f7
treec8ca4fe6fa0d56c65b155dc205a0a8791c9ca147
parent965b4cf6398bed2a2c722b9d632b9674c228e36c
support: Don't return RPC_UNKNOWNHOST from rpc_socket.c

RPC_UNKNOWNHOST means a hostname isn't known -- basically it's
EAI_NONAME from getaddrinfo(3).  Since the functions in rpc_socket.c
don't take a hostname argument, RPC_UNKNOWNHOST is not an appropriate
return code from these functions.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
support/nfs/rpc_socket.c