From b7dab4692200dd7f3bbc600560648b8e0ec47e70 Mon Sep 17 00:00:00 2001 From: Anatoliy Atanasov Date: Thu, 18 Nov 2010 16:51:22 +0200 Subject: s4/operational: Fix swapped parameters for ldb_msg_copy_attr Autobuild-User: Anatoliy Atanasov Autobuild-Date: Thu Nov 18 17:02:07 UTC 2010 on sn-devel-104 --- source4/dsdb/samdb/ldb_modules/operational.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/dsdb/samdb') diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c index d8cf3e07e2..ebeec71cab 100644 --- a/source4/dsdb/samdb/ldb_modules/operational.c +++ b/source4/dsdb/samdb/ldb_modules/operational.c @@ -642,8 +642,8 @@ static int operational_search_post_process(struct ldb_module *module, goto failed; } } else if (ldb_msg_copy_attr(msg, - search_sub[i].replace, - search_sub[i].attr) != LDB_SUCCESS) { + search_sub[i].attr, + search_sub[i].replace) != LDB_SUCCESS) { goto failed; } } -- cgit