diff options
| author | Doug Rabson <dfr@FreeBSD.org> | 2008-09-15 14:02:49 +0000 |
|---|---|---|
| committer | Doug Rabson <dfr@FreeBSD.org> | 2008-09-15 14:02:49 +0000 |
| commit | 3d3ec67618169b5f31e6103c120d6660228a194e (patch) | |
| tree | 93af1fbd38cdafd89a912f29b517f8bb7dd2038f /lib/libc | |
| parent | 0be84ce8552b149a69ec63ef3a0d05dbee436dd0 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/rpc/clnt_dg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/clnt_dg.c b/lib/libc/rpc/clnt_dg.c index 301415527706..9c52e1ef99d6 100644 --- a/lib/libc/rpc/clnt_dg.c +++ b/lib/libc/rpc/clnt_dg.c @@ -383,6 +383,8 @@ clnt_dg_call(cl, proc, xargs, argsp, xresults, resultsp, utimeout) kin_len = 1; call_again: + if (cu->cu_async == TRUE && xargs == NULL) + goto get_reply; /* * the transaction is the first thing in the out buffer * XXX Yes, and it's in network byte order, so we should to @@ -393,8 +395,6 @@ call_again: *(u_int32_t *)(void *)(cu->cu_outhdr) = htonl(xid); call_again_same_xid: xdrs = &(cu->cu_outxdrs); - if (cu->cu_async == TRUE && xargs == NULL) - goto get_reply; xdrs->x_op = XDR_ENCODE; XDR_SETPOS(xdrs, 0); |
