diff options
author | Björn Baumbach <bb@sernet.de> | 2011-07-12 17:32:55 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-12 18:56:30 +0200 |
commit | b807c58b655f1ffbf849f5de9eef66136bdb4a52 (patch) | |
tree | f104de75af73c154292612986426d6ea83a1d31b /source3/lib | |
parent | ee762398852bb72666fa457d7a8c0b129983899c (diff) | |
download | samba-b807c58b655f1ffbf849f5de9eef66136bdb4a52.tar.gz samba-b807c58b655f1ffbf849f5de9eef66136bdb4a52.tar.bz2 samba-b807c58b655f1ffbf849f5de9eef66136bdb4a52.zip |
s3: dbwrap_ctdb.c: fix #ifdef CTDB_CONTROL_SCHEDULE_FOR_DELETION issue (bug #8303)
Check for HAVE_CTDB_CONTROL_SCHEDULE_FOR_DELETION_DECL instead of
CTDB_CONTROL_SCHEDULE_FOR_DELETION, which is an enum member and not a
define.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jul 12 18:56:30 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/dbwrap_ctdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/dbwrap_ctdb.c b/source3/lib/dbwrap_ctdb.c index 255a673020..2464b3b550 100644 --- a/source3/lib/dbwrap_ctdb.c +++ b/source3/lib/dbwrap_ctdb.c @@ -911,7 +911,7 @@ static NTSTATUS db_ctdb_store(struct db_record *rec, TDB_DATA data, int flag) -#ifdef CTDB_CONTROL_SCHEDULE_FOR_DELETION +#ifdef HAVE_CTDB_CONTROL_SCHEDULE_FOR_DELETION_DECL static NTSTATUS db_ctdb_send_schedule_for_deletion(struct db_record *rec) { NTSTATUS status; @@ -974,7 +974,7 @@ static NTSTATUS db_ctdb_delete(struct db_record *rec) return status; } -#ifdef CTDB_CONTROL_SCHEDULE_FOR_DELETION +#ifdef HAVE_CTDB_CONTROL_SCHEDULE_FOR_DELETION_DECL status = db_ctdb_send_schedule_for_deletion(rec); #endif |