diff options
author | Greg Hudson <ghudson@mit.edu> | 2008-10-02 16:53:57 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2008-10-02 16:53:57 +0000 |
commit | f06e9e987445a7d8b5640f067942d6bbfd7d1b6c (patch) | |
tree | 9c3fc582443bac85fe3e964690cb2beee8acfc6b /src/lib/rpc | |
parent | ea05c23ca1596d0b3a0f1e0c2e00b841d942399f (diff) | |
download | krb5-f06e9e987445a7d8b5640f067942d6bbfd7d1b6c.zip krb5-f06e9e987445a7d8b5640f067942d6bbfd7d1b6c.tar.gz krb5-f06e9e987445a7d8b5640f067942d6bbfd7d1b6c.tar.bz2 |
In clntudp_call, fix a bug in the handling of an error case (it failed
to set the error status field and generated a dead code warning).
ticket: 6121
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20809 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/rpc')
-rw-r--r-- | src/lib/rpc/clnt_udp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/rpc/clnt_udp.c b/src/lib/rpc/clnt_udp.c index bb0727d..8722e75 100644 --- a/src/lib/rpc/clnt_udp.c +++ b/src/lib/rpc/clnt_udp.c @@ -401,7 +401,6 @@ send_again: reply_xdrs.x_op = XDR_FREE; xdr_replymsg(&reply_xdrs, &reply_msg); reply_xdrs.x_op = op; - return (RPC_CANTDECODERES); cu->cu_error.re_status = RPC_CANTDECODERES; } return (cu->cu_error.re_status); |