summaryrefslogtreecommitdiff
path: root/source4/torture/nbt/query.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/nbt/query.c')
-rw-r--r--source4/torture/nbt/query.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/nbt/query.c b/source4/torture/nbt/query.c
index e9c302d89c..10e8848b46 100644
--- a/source4/torture/nbt/query.c
+++ b/source4/torture/nbt/query.c
@@ -23,6 +23,7 @@
#include "includes.h"
#include "lib/events/events.h"
#include "libcli/resolve/resolve.h"
+#include "torture/torture.h"
struct result_struct {
int num_pass;
@@ -101,7 +102,7 @@ failed:
/*
benchmark how fast a server can respond to name queries
*/
-BOOL torture_bench_nbt(void)
+BOOL torture_bench_nbt(struct torture_context *torture)
{
const char *address;
struct nbt_name name;