summaryrefslogtreecommitdiff
path: root/lib/ldb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-06-27 14:33:42 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-06-27 11:29:17 +0200
commit46db466372b24b71094708d8e222de195482a453 (patch)
tree1d646b25e25462e24ef369fdce360e354e578e9f /lib/ldb
parent207984464f90387472cd01a825fd7cb06ad86d12 (diff)
downloadsamba-46db466372b24b71094708d8e222de195482a453.tar.gz
samba-46db466372b24b71094708d8e222de195482a453.tar.bz2
samba-46db466372b24b71094708d8e222de195482a453.zip
lib/ldb: Print trace messages for modify correctly
Diffstat (limited to 'lib/ldb')
-rw-r--r--lib/ldb/common/ldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb/common/ldb.c b/lib/ldb/common/ldb.c
index a223b87c45..779bed8d23 100644
--- a/lib/ldb/common/ldb.c
+++ b/lib/ldb/common/ldb.c
@@ -776,7 +776,7 @@ static void ldb_trace_request(struct ldb_context *ldb, struct ldb_request *req)
ldb_debug_add(ldb, "ldb_trace_request: MODIFY\n");
ldb_debug_add(req->handle->ldb, "%s\n",
ldb_ldif_message_string(req->handle->ldb, tmp_ctx,
- LDB_CHANGETYPE_ADD,
+ LDB_CHANGETYPE_MODIFY,
req->op.mod.message));
break;
case LDB_REQ_REGISTER_CONTROL: