From f06e9e987445a7d8b5640f067942d6bbfd7d1b6c Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Thu, 2 Oct 2008 16:53:57 +0000 Subject: [PATCH] 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 --- src/lib/rpc/clnt_udp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/rpc/clnt_udp.c b/src/lib/rpc/clnt_udp.c index bb0727d11..8722e755a 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); -- 2.26.2