summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-10-21 16:52:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:36 -0500
commitf916352de90f5f5cd1e33d7264895e9d7e2992b5 (patch)
tree205bb06bf46de67e7011b18f7faaa62d2308d5f0 /source3
parentf29a0d90a3afd5a12cdd70e0090c6e7c0c447293 (diff)
downloadsamba-f916352de90f5f5cd1e33d7264895e9d7e2992b5.tar.gz
samba-f916352de90f5f5cd1e33d7264895e9d7e2992b5.tar.bz2
samba-f916352de90f5f5cd1e33d7264895e9d7e2992b5.zip
r19447: Do not throw away information
(This used to be commit 141e0dd7174462d0df642f6055eb3f35df107bac)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_rpc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index e7bf53ad3f..67400ca3c6 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -3084,10 +3084,7 @@ static NTSTATUS rpc_share_del_internals(const DOM_SID *domain_sid,
int argc,
const char **argv)
{
- NTSTATUS result;
-
- result = rpccli_srvsvc_NetShareDel(pipe_hnd, mem_ctx, NULL, argv[0], 0);
- return NT_STATUS_IS_OK(result) ? NT_STATUS_OK : NT_STATUS_UNSUCCESSFUL;
+ return rpccli_srvsvc_NetShareDel(pipe_hnd, mem_ctx, NULL, argv[0], 0);
}
/**