diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-24 02:32:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:01:06 -0500 |
commit | 8438a6a7d4506d395c8b4bd0e99f9c100e5e3c4e (patch) | |
tree | 8223c0493cff2b6d4bd524bdce5ff6c8e169e9ab /source/rpcclient/cmd_srvsvc.c | |
parent | 6d5f507136be327558e98214b64eca225ca23d66 (diff) | |
download | samba-8438a6a7d4506d395c8b4bd0e99f9c100e5e3c4e.tar.gz samba-8438a6a7d4506d395c8b4bd0e99f9c100e5e3c4e.tar.xz samba-8438a6a7d4506d395c8b4bd0e99f9c100e5e3c4e.zip |
r18865: fixed some of the most obvious NTSTATUS/WERROR mixups in Samba3. It
still doesn't compile with immediate structures and the
NTSTATUS/WERROR separation, as there are still several places where
the two error types are mixed up. I haven't fixed those as they
require decisions about the rpcclient code that I really don't want to
get into (the error handling there is a mess)
So samba3 compiles now, but only becaise HAVE_IMMEDIATE_STRUCTURES is
not used (look for HAVE_IMMEDIATE_STRUCTURES_XX_DISABLED)
Diffstat (limited to 'source/rpcclient/cmd_srvsvc.c')
-rw-r--r-- | source/rpcclient/cmd_srvsvc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpcclient/cmd_srvsvc.c b/source/rpcclient/cmd_srvsvc.c index d6e01eee85e..208e7a2543d 100644 --- a/source/rpcclient/cmd_srvsvc.c +++ b/source/rpcclient/cmd_srvsvc.c @@ -172,7 +172,7 @@ static WERROR cmd_srvsvc_srv_query_info(struct rpc_pipe_client *cli, { uint32 info_level = 101; union srvsvc_NetSrvInfo ctr; - WERROR result; + NTSTATUS result; if (argc > 2) { printf("Usage: %s [infolevel]\n", argv[0]); |