diff options
author | Günther Deschner <gd@samba.org> | 2015-12-03 15:24:23 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-09-28 00:04:22 +0200 |
commit | d5808eb3cf493e1b066fe09c270cee2bf74cc60e (patch) | |
tree | f00bfe877934755db81aa512180b05fb5a2aee3c /source3/rpc_server | |
parent | 3883d17d1037e88813f13634d38be4ee916c5aa5 (diff) | |
download | samba-d5808eb3cf493e1b066fe09c270cee2bf74cc60e.tar.gz |
werror: replace WERR_NO_SUCH_SHARE with WERR_BAD_NET_NAME in source3/rpc_server/srvsvc/srv_srvsvc_nt.c
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srvsvc/srv_srvsvc_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c index 4bb81aa91f7..f62e39d4be9 100644 --- a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c +++ b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c @@ -2180,7 +2180,7 @@ WERROR _srvsvc_NetShareDel(struct pipes_struct *p, } if (snum < 0) { - return WERR_NO_SUCH_SHARE; + return WERR_BAD_NET_NAME; } /* No change to printer shares. */ |