mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-21 06:14:40 -05:00
dereference 'char **text' when passing it as an arg to Debug()
This commit is contained in:
parent
d216e32d63
commit
09a2e74d5a
1 changed files with 5 additions and 5 deletions
|
|
@ -61,7 +61,7 @@ int ldbm_modify_internal(
|
|||
|
||||
if( err != LDAP_SUCCESS ) {
|
||||
Debug(LDAP_DEBUG_ARGS, "ldbm_modify_internal: %d %s\n",
|
||||
err, text, 0);
|
||||
err, *text, 0);
|
||||
*text = "modify: add values failed";
|
||||
}
|
||||
break;
|
||||
|
|
@ -72,7 +72,7 @@ int ldbm_modify_internal(
|
|||
assert( err != LDAP_TYPE_OR_VALUE_EXISTS );
|
||||
if( err != LDAP_SUCCESS ) {
|
||||
Debug(LDAP_DEBUG_ARGS, "ldbm_modify_internal: %d %s\n",
|
||||
err, text, 0);
|
||||
err, *text, 0);
|
||||
*text = "modify: delete values failed";
|
||||
}
|
||||
break;
|
||||
|
|
@ -83,7 +83,7 @@ int ldbm_modify_internal(
|
|||
assert( err != LDAP_TYPE_OR_VALUE_EXISTS );
|
||||
if( err != LDAP_SUCCESS ) {
|
||||
Debug(LDAP_DEBUG_ARGS, "ldbm_modify_internal: %d %s\n",
|
||||
err, text, 0);
|
||||
err, *text, 0);
|
||||
*text = "modify: replace values failed";
|
||||
}
|
||||
break;
|
||||
|
|
@ -102,7 +102,7 @@ int ldbm_modify_internal(
|
|||
|
||||
if( err != LDAP_SUCCESS ) {
|
||||
Debug(LDAP_DEBUG_ARGS, "ldbm_modify_internal: %d %s\n",
|
||||
err, text, 0);
|
||||
err, *text, 0);
|
||||
*text = "modify: (soft)add values failed";
|
||||
}
|
||||
break;
|
||||
|
|
@ -113,7 +113,7 @@ int ldbm_modify_internal(
|
|||
*text = "Invalid modify operation";
|
||||
err = LDAP_OTHER;
|
||||
Debug(LDAP_DEBUG_ARGS, "ldbm_modify_internal: %d %s\n",
|
||||
err, text, 0);
|
||||
err, *text, 0);
|
||||
}
|
||||
|
||||
if ( err != LDAP_SUCCESS ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue