diff options
author | Nathan Kinder <nkinder@redhat.com> | 2006-03-20 17:47:16 +0000 |
---|---|---|
committer | Nathan Kinder <nkinder@redhat.com> | 2006-03-20 17:47:16 +0000 |
commit | efaa2f49914ffa64bf9cff990bb8fac72598beeb (patch) | |
tree | d7dc481aba8b7dc6ccccad4b883375b543b8d99b /ldap/servers/plugins/replication/windows_protocol_util.c | |
parent | 1802fb9b992c9408bab995a26e64bdc464bcf555 (diff) | |
download | ds-efaa2f49914ffa64bf9cff990bb8fac72598beeb.tar.gz ds-efaa2f49914ffa64bf9cff990bb8fac72598beeb.tar.xz ds-efaa2f49914ffa64bf9cff990bb8fac72598beeb.zip |
185811 - Missing const qualifiers were causing Windows compiler errors
Diffstat (limited to 'ldap/servers/plugins/replication/windows_protocol_util.c')
-rw-r--r-- | ldap/servers/plugins/replication/windows_protocol_util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ldap/servers/plugins/replication/windows_protocol_util.c b/ldap/servers/plugins/replication/windows_protocol_util.c index e3227f89..a8049fa3 100644 --- a/ldap/servers/plugins/replication/windows_protocol_util.c +++ b/ldap/servers/plugins/replication/windows_protocol_util.c @@ -2702,7 +2702,7 @@ windows_update_remote_entry(Private_Repl_Protocol *prp,Slapi_Entry *remote_entry if (0 == retval && do_modify) { char dnbuf[BUFSIZ]; - char *dn = slapi_sdn_get_dn(slapi_entry_get_sdn_const(remote_entry)); + const char *dn = slapi_sdn_get_dn(slapi_entry_get_sdn_const(remote_entry)); slapi_log_error(SLAPI_LOG_REPL, windows_repl_plugin_name, "windows_update_remote_entry: modifying entry %s\n", escape_string(dn, dnbuf)); @@ -2710,7 +2710,7 @@ windows_update_remote_entry(Private_Repl_Protocol *prp,Slapi_Entry *remote_entry } else { char dnbuf[BUFSIZ]; - char *dn = slapi_sdn_get_dn(slapi_entry_get_sdn_const(remote_entry)); + const char *dn = slapi_sdn_get_dn(slapi_entry_get_sdn_const(remote_entry)); slapi_log_error(SLAPI_LOG_REPL, windows_repl_plugin_name, "no mods generated for remote entry: %s\n", escape_string(dn, dnbuf)); } @@ -2738,7 +2738,7 @@ windows_update_local_entry(Private_Repl_Protocol *prp,Slapi_Entry *remote_entry, if (pb) { char dnbuf[BUFSIZ]; - char *dn = slapi_sdn_get_dn(slapi_entry_get_sdn_const(local_entry)); + const char *dn = slapi_sdn_get_dn(slapi_entry_get_sdn_const(local_entry)); slapi_log_error(SLAPI_LOG_REPL, windows_repl_plugin_name, "modifying entry: %s\n", escape_string(dn, dnbuf)); slapi_modify_internal_set_pb (pb, slapi_entry_get_ndn(local_entry), slapi_mods_get_ldapmods_byref(&smods), NULL, NULL, @@ -2760,7 +2760,7 @@ windows_update_local_entry(Private_Repl_Protocol *prp,Slapi_Entry *remote_entry, } else { char dnbuf[BUFSIZ]; - char *dn = slapi_sdn_get_dn(slapi_entry_get_sdn_const(local_entry)); + const char *dn = slapi_sdn_get_dn(slapi_entry_get_sdn_const(local_entry)); slapi_log_error(SLAPI_LOG_REPL, windows_repl_plugin_name, "no mods generated for local entry: %s\n", escape_string(dn, dnbuf)); } |