]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix cats-test.c compile
authorMartin Simmons <martin@lispworks.com>
Mon, 16 Dec 2019 14:16:35 +0000 (15:16 +0100)
committerKern Sibbald <kern@sibbald.com>
Mon, 16 Dec 2019 14:16:35 +0000 (15:16 +0100)
bacula/src/tools/cats_test.c

index 558715491b523e18810d2312d8b27fbcea4fd364..661b578d099694df5c6887c9f54d3f45045bae00 100644 (file)
@@ -530,7 +530,7 @@ int main (int argc, char *argv[])
    ok(j == 1, "Check batch session records");
    j = 0;
    Mmsg(buf, "%lld", (uint64_t)jcr->JobId);
-   ok(db_get_file_list(jcr, jcr->db_batch, buf, false, false, list_files, &j),
+   ok(db_get_file_list(jcr, jcr->db_batch, buf, DBL_NONE, list_files, &j),
       "List files with db_get_file_list()");
    ok(j == 1, "Check db_get_file_list results");
    /* ---------------------------------------------------------------- */