]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix cats_test to use the new method names.
authorMarco van Wieringen <mvw@planets.elm.net>
Mon, 5 Dec 2011 15:13:50 +0000 (16:13 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:18 +0000 (14:50 +0200)
bacula/src/tools/cats_test.c

index c134b7cc2c79bd6f57ff0456dd7514938b328cca..76a09e0814f894aee27450609b54218e175fa2f6 100644 (file)
@@ -335,8 +335,8 @@ int main (int argc, char *argv[])
     */
 
    jcr = new_jcr(sizeof(JCR), NULL);
-   jcr->set_JobType(JT_CONSOLE);
-   jcr->set_JobLevel(L_NONE);
+   jcr->setJobType(JT_CONSOLE);
+   jcr->setJobLevel(L_NONE);
    jcr->JobStatus = JS_Running;
    bstrncpy(jcr->Job, "**dummy**", sizeof(jcr->Job));
    jcr->JobId = pid;      /* this is JobId on tape */