]> git.decadent.org.uk Git - nfs-utils.git/commit - utils/showmount/showmount.c
showmount issues
authorMartin Leisner <Martin.Leisner@xerox.com>
Fri, 25 Jul 2008 18:50:06 +0000 (14:50 -0400)
committerSteve Dickson <steved@redhat.com>
Fri, 25 Jul 2008 18:50:06 +0000 (14:50 -0400)
commit7f6ca07a8836dbdf30a227580441b99607639fd4
treec0f39774cdd33a049fef0bc5ca671798b2565cc9
parenteddfbf7ac8ecd3f17dc295df6c1dac4bbc6ca846
showmount issues

The connect_nb() routne returns zero for success and a negative
value for failure which was not being interpreted correctly
by the getport() routine. This patch fixes that problem.

Signed-off-by: Steve Dickson <steved@redhat.com>
utils/showmount/showmount.c