summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-02-10 13:45:24 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-03-14 17:56:14 +0100
commit1a65f90a341752e5b6c9b3f7e8f301bb4a093d65 (patch)
treea65ffa2f8cc7a3739f875ce4437b64a447bd7e13 /source3/printing
parent034489718ca45a7b7e5a400f99d45387b1449746 (diff)
downloadsamba-1a65f90a341752e5b6c9b3f7e8f301bb4a093d65.tar.gz
samba-1a65f90a341752e5b6c9b3f7e8f301bb4a093d65.tar.bz2
samba-1a65f90a341752e5b6c9b3f7e8f301bb4a093d65.zip
s3-printing: Make printer a const char *.
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/nt_printing_ads.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/printing/nt_printing_ads.c b/source3/printing/nt_printing_ads.c
index 728fefbc44..3551148565 100644
--- a/source3/printing/nt_printing_ads.c
+++ b/source3/printing/nt_printing_ads.c
@@ -390,7 +390,9 @@ done:
bool is_printer_published(TALLOC_CTX *mem_ctx,
const struct auth_session_info *session_info,
struct messaging_context *msg_ctx,
- const char *servername, char *printer, struct GUID *guid,
+ const char *servername,
+ const char *printer,
+ struct GUID *guid,
struct spoolss_PrinterInfo2 **info2)
{
struct spoolss_PrinterInfo2 *pinfo2 = NULL;
@@ -485,7 +487,9 @@ WERROR check_published_printers(struct messaging_context *msg_ctx)
bool is_printer_published(TALLOC_CTX *mem_ctx,
const struct auth_session_info *session_info,
struct messaging_context *msg_ctx,
- const char *servername, char *printer, struct GUID *guid,
+ const char *servername,
+ const char *printer,
+ struct GUID *guid,
struct spoolss_PrinterInfo2 **info2)
{
return False;