summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/modules/ldb_map_inbound.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-05-05 18:50:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:00 -0500
commit52fb06edc25e8538c413df1aaabba18c859a00cf (patch)
tree20c409c9930232a023ad73672da38f50e29f61c1 /source4/lib/ldb/modules/ldb_map_inbound.c
parentbe7eb080fe0a2c44187e693681d3478a3dc0c0ee (diff)
downloadsamba-52fb06edc25e8538c413df1aaabba18c859a00cf.tar.gz
samba-52fb06edc25e8538c413df1aaabba18c859a00cf.tar.bz2
samba-52fb06edc25e8538c413df1aaabba18c859a00cf.zip
r22681: Fix standalone ldb build when parent directory name != ldb.
(This used to be commit 1093875d59f1ea9b8bd82277d4f9d8366e584952)
Diffstat (limited to 'source4/lib/ldb/modules/ldb_map_inbound.c')
-rw-r--r--source4/lib/ldb/modules/ldb_map_inbound.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/source4/lib/ldb/modules/ldb_map_inbound.c b/source4/lib/ldb/modules/ldb_map_inbound.c
index 7e5583c9e2..9cc1b4e89f 100644
--- a/source4/lib/ldb/modules/ldb_map_inbound.c
+++ b/source4/lib/ldb/modules/ldb_map_inbound.c
@@ -23,11 +23,10 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "includes.h"
-#include "ldb/include/includes.h"
+#include "ldb_includes.h"
-#include "ldb/modules/ldb_map.h"
-#include "ldb/modules/ldb_map_private.h"
+#include "ldb_map.h"
+#include "ldb_map_private.h"
/* Mapping message elements
@@ -137,10 +136,10 @@ local:
* ================ */
/* Check whether a message will be (partially) mapped into the remote partition. */
-static BOOL ldb_msg_check_remote(struct ldb_module *module, const struct ldb_message *msg)
+static bool ldb_msg_check_remote(struct ldb_module *module, const struct ldb_message *msg)
{
const struct ldb_map_context *data = map_get_context(module);
- BOOL ret;
+ bool ret;
int i;
for (i = 0; i < msg->num_elements; i++) {
@@ -150,7 +149,7 @@ static BOOL ldb_msg_check_remote(struct ldb_module *module, const struct ldb_mes
}
}
- return False;
+ return false;
}
/* Split message elements that stay in the local partition from those