samba-cvs.cvs
[Top] [All Lists]

[SCM] Samba Shared Repository - branch master updated

Subject: [SCM] Samba Shared Repository - branch master updated
From: Günther Deschner
Date: Wed, 26 May 2010 08:14:57 -0500 CDT
The branch, master has been updated
       via  ab707cb... s3-printing: fix buildwarning in publishing code after 
registry changes.
      from  718718d... s3-lanman: Migrated to rpc_connect_spoolss_pipe().

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


- Log -----------------------------------------------------------------
commit ab707cb9b3e62bd99afa0a82152064a6d75b032d
Author: Günther Deschner <gd@xxxxxxxxx>
Date:   Wed May 26 15:14:20 2010 +0200

    s3-printing: fix buildwarning in publishing code after registry changes.
    
    Guenther

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

Summary of changes:
 source3/libads/ldap_printer.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libads/ldap_printer.c b/source3/libads/ldap_printer.c
index 48db5ca..0aa21ba 100644
--- a/source3/libads/ldap_printer.c
+++ b/source3/libads/ldap_printer.c
@@ -122,7 +122,7 @@ ADS_STATUS ads_add_printer_entry(ADS_STRUCT *ads, char 
*prt_dn,
   map a REG_SZ to an ldap mod
 */
 static bool map_sz(TALLOC_CTX *ctx, ADS_MODLIST *mods, 
-                  const struct regval_blob *value)
+                  struct regval_blob *value)
 {
        char *str_value = NULL;
        size_t converted_size;
@@ -149,7 +149,7 @@ static bool map_sz(TALLOC_CTX *ctx, ADS_MODLIST *mods,
   map a REG_DWORD to an ldap mod
 */
 static bool map_dword(TALLOC_CTX *ctx, ADS_MODLIST *mods, 
-                     const struct regval_blob *value)
+                     struct regval_blob *value)
 {
        char *str_value = NULL;
        ADS_STATUS status;
@@ -168,7 +168,7 @@ static bool map_dword(TALLOC_CTX *ctx, ADS_MODLIST *mods,
   map a boolean REG_BINARY to an ldap mod
 */
 static bool map_bool(TALLOC_CTX *ctx, ADS_MODLIST *mods,
-                    const struct regval_blob *value)
+                    struct regval_blob *value)
 {
        char *str_value;
        ADS_STATUS status;
@@ -188,7 +188,7 @@ static bool map_bool(TALLOC_CTX *ctx, ADS_MODLIST *mods,
   map a REG_MULTI_SZ to an ldap mod
 */
 static bool map_multi_sz(TALLOC_CTX *ctx, ADS_MODLIST *mods,
-                        const struct regval_blob *value)
+                        struct regval_blob *value)
 {
        char **str_values = NULL;
        size_t converted_size;
@@ -229,7 +229,7 @@ static bool map_multi_sz(TALLOC_CTX *ctx, ADS_MODLIST *mods,
 
 struct valmap_to_ads {
        const char *valname;
-       bool (*fn)(TALLOC_CTX *, ADS_MODLIST *, const struct regval_blob *);
+       bool (*fn)(TALLOC_CTX *, ADS_MODLIST *, struct regval_blob *);
 };
 
 /*


-- 
Samba Shared Repository

<Prev in Thread] Current Thread [Next in Thread>