summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-09-09 16:39:33 +0200
committerAndreas Schneider <asn@samba.org>2010-09-09 16:39:33 +0200
commit81e97c09c366b6b51ef2229789c8d223f812a6d0 (patch)
treee393cdf6aa15418cc01f63311ab01f3fa9949ab8
parent59c14282eb54a60a2b889585c3aeb280742ac14a (diff)
downloadsamba-81e97c09c366b6b51ef2229789c8d223f812a6d0.tar.gz
samba-81e97c09c366b6b51ef2229789c8d223f812a6d0.tar.bz2
samba-81e97c09c366b6b51ef2229789c8d223f812a6d0.zip
s3-printing: Make missing auth_serversupplied_info const.
-rw-r--r--source3/printing/nt_printing_ads.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/printing/nt_printing_ads.c b/source3/printing/nt_printing_ads.c
index de24ce82ac..4f92b9ef3f 100644
--- a/source3/printing/nt_printing_ads.c
+++ b/source3/printing/nt_printing_ads.c
@@ -237,7 +237,7 @@ static WERROR nt_printer_unpublish_ads(ADS_STRUCT *ads,
***************************************************************************/
WERROR nt_printer_publish(TALLOC_CTX *mem_ctx,
- struct auth_serversupplied_info *server_info,
+ const struct auth_serversupplied_info *server_info,
struct messaging_context *msg_ctx,
struct spoolss_PrinterInfo2 *pinfo2,
int action)
@@ -381,7 +381,7 @@ done:
}
bool is_printer_published(TALLOC_CTX *mem_ctx,
- struct auth_serversupplied_info *server_info,
+ const struct auth_serversupplied_info *server_info,
struct messaging_context *msg_ctx,
char *servername, char *printer, struct GUID *guid,
struct spoolss_PrinterInfo2 **info2)
@@ -453,7 +453,7 @@ done:
}
#else
WERROR nt_printer_publish(TALLOC_CTX *mem_ctx,
- struct auth_serversupplied_info *server_info,
+ const struct auth_serversupplied_info *server_info,
struct messaging_context *msg_ctx,
struct spoolss_PrinterInfo2 *pinfo2,
int action)