projects
/
am-utils-6.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
045bc22
)
break on succes
author
Christos Zoulas
<christos@zoulas.com>
Thu, 29 Dec 2011 21:18:30 +0000
(16:18 -0500)
committer
Christos Zoulas
<christos@zoulas.com>
Thu, 29 Dec 2011 21:18:30 +0000
(16:18 -0500)
conf/transp/transp_sockets.c
patch
|
blob
|
history
diff --git
a/conf/transp/transp_sockets.c
b/conf/transp/transp_sockets.c
index 518528ff52d86616c8b4a7d6cbbd23e430539438..1cd132f59d8cac140447322cf23e4401a8dab331 100644
(file)
--- a/
conf/transp/transp_sockets.c
+++ b/
conf/transp/transp_sockets.c
@@
-467,6
+467,8
@@
get_nfs_version(char *host, struct sockaddr_in *sin, u_long nfs_version, const c
close(sock);
clnt_destroy(clnt);
+ if (clnt_stat == RPC_SUCCESS)
+ break;
} else {
#ifdef HAVE_CLNT_SPCREATEERROR
errstr = clnt_spcreateerror("");