From 1e24997e3e4bc04395d6ecf470faedb632b6ec68 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 30 Mar 2012 15:15:29 +0200 Subject: s3: Avoid a crash with debug level 10 Autobuild-User: Volker Lendecke Autobuild-Date: Fri Mar 30 16:52:16 CEST 2012 on sn-devel-104 --- source3/lib/dbwrap/dbwrap_ctdb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/lib/dbwrap') diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c index 41adfd8243..41d9f19a05 100644 --- a/source3/lib/dbwrap/dbwrap_ctdb.c +++ b/source3/lib/dbwrap/dbwrap_ctdb.c @@ -1104,7 +1104,8 @@ again: ctdb_data.dptr, ctdb_data.dptr ? ((struct ctdb_ltdb_header *)ctdb_data.dptr)->dmaster : -1, get_my_vnn(), - ((struct ctdb_ltdb_header *)ctdb_data.dptr)->flags)); + ctdb_data.dptr ? + ((struct ctdb_ltdb_header *)ctdb_data.dptr)->flags : 0)); status = ctdbd_migrate(messaging_ctdbd_connection(), ctx->db_id, key); -- cgit