From 3797d48b76fadb988c40d056751be8671c9e6906 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 29 Sep 2010 04:51:56 +0200 Subject: s3-spoolss: Fix servername/printername handling which turns out to be very important to get right. Guenther --- source3/rpc_server/srv_spoolss_util.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'source3/rpc_server/srv_spoolss_util.h') diff --git a/source3/rpc_server/srv_spoolss_util.h b/source3/rpc_server/srv_spoolss_util.h index 36581b84a5..d425bd1bba 100644 --- a/source3/rpc_server/srv_spoolss_util.h +++ b/source3/rpc_server/srv_spoolss_util.h @@ -74,7 +74,6 @@ enum spoolss_PrinterInfo2Mask { WERROR winreg_create_printer(TALLOC_CTX *mem_ctx, const struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx, - const char *servername, const char *sharename); /** @@ -116,9 +115,7 @@ WERROR winreg_update_printer(TALLOC_CTX *mem_ctx, * * @param[in] server_info The server supplied session info. * - * @param[in] printer The servername to use. - * - * @param[in] printer The name of the printer to get. + * @param[in] printer The name of the printer to get. * * @param[out] pinfo2 A pointer to store a PRINTER_INFO_2 structure. * @@ -128,7 +125,6 @@ WERROR winreg_update_printer(TALLOC_CTX *mem_ctx, WERROR winreg_get_printer(TALLOC_CTX *mem_ctx, const struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx, - const char *servername, const char *printer, struct spoolss_PrinterInfo2 **pinfo2); -- cgit