svn commit: samba r18813 - in branches/SAMBA_3_0/source/client: .
metze at samba.org
metze at samba.org
Fri Sep 22 05:36:16 GMT 2006
Author: metze
Date: 2006-09-22 05:36:15 +0000 (Fri, 22 Sep 2006)
New Revision: 18813
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18813
Log:
the generated rpccli_ functions give NTSTATUS
metze
Modified:
branches/SAMBA_3_0/source/client/client.c
Changeset:
Modified: branches/SAMBA_3_0/source/client/client.c
===================================================================
--- branches/SAMBA_3_0/source/client/client.c 2006-09-22 05:26:26 UTC (rev 18812)
+++ branches/SAMBA_3_0/source/client/client.c 2006-09-22 05:36:15 UTC (rev 18813)
@@ -2726,7 +2726,6 @@
struct rpc_pipe_client *pipe_hnd;
TALLOC_CTX *mem_ctx;
uint32 enum_hnd = 0;
- WERROR werr;
union srvsvc_NetShareCtr ctr;
int i;
uint32 level;
@@ -2749,10 +2748,10 @@
level = 1;
- werr = rpccli_srvsvc_NetShareEnum(pipe_hnd, mem_ctx, NULL, &level, &ctr,
+ status = rpccli_srvsvc_NetShareEnum(pipe_hnd, mem_ctx, NULL, &level, &ctr,
0xffffffff, &numentries, &enum_hnd);
- if (!W_ERROR_IS_OK(werr)) {
+ if (!NT_STATUS_IS_OK(status)) {
TALLOC_FREE(mem_ctx);
cli_rpc_pipe_close(pipe_hnd);
return False;
More information about the samba-cvs
mailing list