summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-10-17 11:27:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:44:51 -0500
commitbe5a24b3c0279b5b90aa61f13cf2d50a45394674 (patch)
tree083cfee5207e396c31d208a1b42a55eb39383149
parent84ad5fc9f3d1a4caad749cea84756028f4a649d2 (diff)
downloadsamba-be5a24b3c0279b5b90aa61f13cf2d50a45394674.tar.gz
samba-be5a24b3c0279b5b90aa61f13cf2d50a45394674.tar.bz2
samba-be5a24b3c0279b5b90aa61f13cf2d50a45394674.zip
r11110: make ldb_oom() also set the ldb error string
(This used to be commit b6e8018a3b2326c3d1df4811a0581c5c0967bfd3)
-rw-r--r--source4/lib/ldb/include/ldb_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/include/ldb_private.h b/source4/lib/ldb/include/ldb_private.h
index 3fb73a93b7..7b31bf1e31 100644
--- a/source4/lib/ldb/include/ldb_private.h
+++ b/source4/lib/ldb/include/ldb_private.h
@@ -118,7 +118,7 @@ typedef struct ldb_module *(*ldb_module_init_function)(struct ldb_context *ldb,
/*
simplify out of memory handling
*/
-#define ldb_oom(ldb) ldb_debug(ldb, LDB_DEBUG_FATAL, "ldb out of memory at %s:%d\n", __FILE__, __LINE__)
+#define ldb_oom(ldb) ldb_debug_set(ldb, LDB_DEBUG_FATAL, "ldb out of memory at %s:%d\n", __FILE__, __LINE__)
/* The following definitions come from lib/ldb/common/ldb_modules.c */