werror: replace WERR_SERVER_UNAVAILABLE with WERR_RPC_S_SERVER_UNAVAILABLE in source3...
authorGünther Deschner <gd@samba.org>
Thu, 3 Dec 2015 14:24:31 +0000 (15:24 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 27 Sep 2016 22:04:25 +0000 (00:04 +0200)
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/rpc_server/spoolss/srv_spoolss_nt.c

index 5d0fa5a0297750b06dc85acf8674a21ae5c66b67..7dfea4760adfc7e5e97c745c924078065af01a21 100644 (file)
@@ -2705,7 +2705,7 @@ WERROR _spoolss_RemoteFindFirstPrinterChangeNotifyEx(struct pipes_struct *p,
        if (!lp_print_notify_backchannel(snum)) {
                DEBUG(10, ("_spoolss_RemoteFindFirstPrinterChangeNotifyEx: "
                        "backchannel disabled\n"));
-               return WERR_SERVER_UNAVAILABLE;
+               return WERR_RPC_S_SERVER_UNAVAILABLE;
        }
 
        client_len = tsocket_address_bsd_sockaddr(p->remote_address,
@@ -2720,7 +2720,7 @@ WERROR _spoolss_RemoteFindFirstPrinterChangeNotifyEx(struct pipes_struct *p,
                                        &Printer->notify.cli_hnd,
                                        &Printer->notify.cli_chan,
                                        &client_ss, p->msg_ctx)) {
-               return WERR_SERVER_UNAVAILABLE;
+               return WERR_RPC_S_SERVER_UNAVAILABLE;
        }
 
        return WERR_OK;