summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-06-06 11:10:02 +0200
committerAndreas Schneider <asn@samba.org>2011-08-01 08:50:34 +0200
commite25b34ab0c565cb702b278d22552828e6ba090a5 (patch)
treeace28d632e3a8de67f82d801e9527daa9c44367d /source3/printing
parentcca96e47268d32e12e1b6b9a187f3096efa12b29 (diff)
downloadsamba-e25b34ab0c565cb702b278d22552828e6ba090a5.tar.gz
samba-e25b34ab0c565cb702b278d22552828e6ba090a5.tar.bz2
samba-e25b34ab0c565cb702b278d22552828e6ba090a5.zip
s3-rpc_server: Move the endpoint registration to own file.
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/spoolssd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/spoolssd.c b/source3/printing/spoolssd.c
index 039eb8872e..bd8a62fb33 100644
--- a/source3/printing/spoolssd.c
+++ b/source3/printing/spoolssd.c
@@ -27,7 +27,7 @@
#include "librpc/gen_ndr/srv_winreg.h"
#include "librpc/gen_ndr/srv_spoolss.h"
#include "rpc_server/rpc_server.h"
-#include "rpc_server/rpc_ep_setup.h"
+#include "rpc_server/rpc_ep_register.h"
#include "rpc_server/spoolss/srv_spoolss_nt.h"
#define SPOOLSS_PIPE_NAME "spoolss"
@@ -226,7 +226,7 @@ void start_spoolssd(struct tevent_context *ev_ctx,
exit(1);
}
- status = rpc_ep_setup_register(ev_ctx, msg_ctx, &ndr_table_spoolss, NULL, 0);
+ status = rpc_ep_register(ev_ctx, msg_ctx, &ndr_table_spoolss, NULL, 0);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("Failed to register spoolss endpoint! (%s)\n",
nt_errstr(status)));