From fe40ee148a2861105cf6763263db65cf96bd22d0 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 3 Jul 2014 13:14:20 +0200 Subject: s3:printing: fix some const warnings in print_iprint.c Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- source3/printing/print_iprint.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source3/printing/print_iprint.c b/source3/printing/print_iprint.c index eeb193c623..1c9e5a2592 100644 --- a/source3/printing/print_iprint.c +++ b/source3/printing/print_iprint.c @@ -206,19 +206,19 @@ static int iprint_get_server_version(http_t *http, char* serviceUri) static int iprint_cache_add_printer(http_t *http, int reqId, - char *url, + const char *url, struct pcap_cache **pcache) { ipp_t *request = NULL, /* IPP Request */ *response = NULL; /* IPP Response */ ipp_attribute_t *attr; /* Current attribute */ cups_lang_t *language = NULL; /* Default language */ - char *name, /* printer-name attribute */ - *info, /* printer-info attribute */ - smb_enabled, /* smb-enabled attribute */ + const char *name, /* printer-name attribute */ + *info; /* printer-info attribute */ + char smb_enabled, /* smb-enabled attribute */ secure; /* security-enabled attrib. */ - char *httpPath; /* path portion of the printer-uri */ + const char *httpPath; /* path portion of the printer-uri */ static const char *pattrs[] = /* Requested printer attributes */ { @@ -440,7 +440,7 @@ bool iprint_cache_reload(struct pcap_cache **_pcache) { for (i = 0; i