winbindd-irpc: Ensure not to call irpc_send_reply twice on error
authorAndrew Bartlett <abartlet@samba.org>
Thu, 24 Jul 2014 04:01:05 +0000 (16:01 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 1 Aug 2014 10:11:28 +0000 (12:11 +0200)
commitc01ee4614a0fb9b017ca240e8929fe1da6268da4
treec9b7a538301b7dabdabaa19c5583a0ddbe76e1e9
parent36ecbf34ba7fd5d46118bd3403128155c47ea1fd
winbindd-irpc: Ensure not to call irpc_send_reply twice on error

As found during investigation of the previous commit, when the RPC
call fails totally, we must only try and send one error reply.

Andrew Bartlett

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Aug  1 12:11:29 CEST 2014 on sn-devel-104
source3/winbindd/winbindd_irpc.c