s3-printing: Make missing auth_serversupplied_info const.
authorAndreas Schneider <asn@samba.org>
Thu, 9 Sep 2010 14:39:33 +0000 (16:39 +0200)
committerAndreas Schneider <asn@samba.org>
Thu, 9 Sep 2010 14:39:33 +0000 (16:39 +0200)
source3/printing/nt_printing_ads.c

index de24ce82ac8f2e25df04b1ae7e20ed9d3980776a..4f92b9ef3f52819948e3cc8988f6e68e8a1c46f9 100644 (file)
@@ -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)