mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
r11110: make ldb_oom() also set the ldb error string
(This used to be commit b6e8018a3b2326c3d1df4811a0581c5c0967bfd3)
This commit is contained in:
parent
84ad5fc9f3
commit
be5a24b3c0
@ -118,7 +118,7 @@ typedef struct ldb_module *(*ldb_module_init_function)(struct ldb_context *ldb,
|
|||||||
/*
|
/*
|
||||||
simplify out of memory handling
|
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 */
|
/* The following definitions come from lib/ldb/common/ldb_modules.c */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user