summaryrefslogtreecommitdiff
path: root/lib/tdb2/test/helprun-external-agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb2/test/helprun-external-agent.c')
-rw-r--r--lib/tdb2/test/helprun-external-agent.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/tdb2/test/helprun-external-agent.c b/lib/tdb2/test/helprun-external-agent.c
index 469847be75..9f243824fd 100644
--- a/lib/tdb2/test/helprun-external-agent.c
+++ b/lib/tdb2/test/helprun-external-agent.c
@@ -1,10 +1,7 @@
#include "external-agent.h"
-#include "tdb1_private.h"
+#include "private.h"
enum agent_return external_agent_needs_rec(struct tdb_context *tdb)
{
- if (tdb->flags & TDB_VERSION1)
- return tdb1_needs_recovery(tdb) ? SUCCESS : FAILED;
- else
- return tdb_needs_recovery(tdb) ? SUCCESS : FAILED;
+ return tdb_needs_recovery(tdb) ? SUCCESS : FAILED;
}