1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r11110: make ldb_oom() also set the ldb error string

(This used to be commit b6e8018a3b)
This commit is contained in:
Andrew Tridgell 2005-10-17 11:27:03 +00:00 committed by Gerald (Jerry) Carter
parent 84ad5fc9f3
commit be5a24b3c0

View File

@ -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 */