diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-10-21 11:36:47 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-10-21 11:36:47 +0000 |
commit | dbf5bc2338dbda2ddac679d1ac8ef45f3d85eb9c (patch) | |
tree | 78f18e99264a617d1d1dedae530b15ca25ba2fa1 /res | |
parent | 55e5232d865a91bcb0305a069fffd9f90e6099f5 (diff) |
Add var=value to log message on update failure, and add newline.
... just for you, Leif.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@292523 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_config_ldap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/res/res_config_ldap.c b/res/res_config_ldap.c index 1cfe12cfc..d476be07e 100644 --- a/res/res_config_ldap.c +++ b/res/res_config_ldap.c @@ -1321,7 +1321,8 @@ static int update_ldap(const char *basedn, const char *table_name, const char *a for (i = 0; ldap_entry; i++) { dn = ldap_get_dn(ldapConn, ldap_entry); if ((error = ldap_modify_ext_s(ldapConn, dn, ldap_mods, NULL, NULL)) != LDAP_SUCCESS) { - ast_log(LOG_ERROR, "Couldn't modify dn:%s because %s", dn, ldap_err2string(error)); + ast_log(LOG_ERROR, "Couldn't modify '%s'='%s', dn:%s because %s\n", + attribute, lookup, dn, ldap_err2string(error)); } ldap_entry = ldap_next_entry(ldapConn, ldap_entry); |