diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-10-21 16:52:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:36 -0500 |
commit | 141e0dd7174462d0df642f6055eb3f35df107bac (patch) | |
tree | bf06229f77147d5266397cf3bed53d4e77e3f16a /source | |
parent | f4dcb9bd56dc61bc2d254f1fb8a648ef9fc6aa8f (diff) | |
download | samba-141e0dd7174462d0df642f6055eb3f35df107bac.tar.gz samba-141e0dd7174462d0df642f6055eb3f35df107bac.tar.xz samba-141e0dd7174462d0df642f6055eb3f35df107bac.zip |
r19447: Do not throw away information
Diffstat (limited to 'source')
-rw-r--r-- | source/utils/net_rpc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/utils/net_rpc.c b/source/utils/net_rpc.c index e7bf53ad3ff..67400ca3c66 100644 --- a/source/utils/net_rpc.c +++ b/source/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); } /** |