[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Thu Sep 9 08:39:35 MDT 2010


The branch, master has been updated
       via  81e97c0 s3-printing: Make missing auth_serversupplied_info const.
      from  59c1428 s3-spoolss: Use systerm server_info for winreg connection.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 81e97c09c366b6b51ef2229789c8d223f812a6d0
Author: Andreas Schneider <asn at samba.org>
Date:   Thu Sep 9 16:39:33 2010 +0200

    s3-printing: Make missing auth_serversupplied_info const.

-----------------------------------------------------------------------

Summary of changes:
 source3/printing/nt_printing_ads.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/printing/nt_printing_ads.c b/source3/printing/nt_printing_ads.c
index de24ce8..4f92b9e 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)


-- 
Samba Shared Repository


More information about the samba-cvs mailing list