The Samba-Bugzilla – Attachment 1373 Details for
Bug 2993
lib/smbldap.c: "const char **" is incompatible with "char **"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
remove const
ldap.patch (text/plain), 1.40 KB, created by
Jason Mader (mail bounces back)
on 2005-08-12 17:03:22 UTC
(
hide
)
Description:
remove const
Filename:
MIME Type:
Creator:
Jason Mader (mail bounces back)
Created:
2005-08-12 17:03:22 UTC
Size:
1.40 KB
patch
obsolete
>Index: lib/smbldap.c >=================================================================== >--- lib/smbldap.c (revision 9284) >+++ lib/smbldap.c (working copy) >@@ -1346,7 +1346,7 @@ > Check if root-dse has a certain Control or Extension > ********************************************************************/ > >-static BOOL smbldap_check_root_dse(struct smbldap_state *ldap_state, const char **attrs, const char *value) >+static BOOL smbldap_check_root_dse(struct smbldap_state *ldap_state, char **attrs, const char *value) > { > LDAPMessage *msg = NULL; > LDAPMessage *entry = NULL; >@@ -1424,7 +1424,7 @@ > > BOOL smbldap_has_control(struct smbldap_state *ldap_state, const char *control) > { >- const char *attrs[] = { "supportedControl", NULL }; >+ char *attrs[] = { "supportedControl", NULL }; > return smbldap_check_root_dse(ldap_state, attrs, control); > } > >@@ -1434,7 +1434,7 @@ > > BOOL smbldap_has_extension(struct smbldap_state *ldap_state, const char *extension) > { >- const char *attrs[] = { "supportedExtension", NULL }; >+ char *attrs[] = { "supportedExtension", NULL }; > return smbldap_check_root_dse(ldap_state, attrs, extension); > } > >@@ -1444,6 +1444,6 @@ > > BOOL smbldap_has_naming_context(struct smbldap_state *ldap_state, const char *naming_context) > { >- const char *attrs[] = { "namingContexts", NULL }; >+ char *attrs[] = { "namingContexts", NULL }; > return smbldap_check_root_dse(ldap_state, attrs, naming_context); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2993
: 1373