]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/read.c
Fix bug #1891
[bacula/bacula] / bacula / src / stored / read.c
index fc61193b9b35b769b4f8597f54be23f670eaff16..3f46f25884e68fa3ac4b14867f2ef3f64d7cc37b 100644 (file)
@@ -1,7 +1,7 @@
 /*
    Bacula® - The Network Backup Solution
 
-   Copyright (C) 2000-2010 Free Software Foundation Europe e.V.
+   Copyright (C) 2000-2011 Free Software Foundation Europe e.V.
 
    The main author of Bacula is Kern Sibbald, with contributions from
    many others, a complete list can be found in the file AUTHORS.
@@ -78,7 +78,7 @@ bool do_read_data(JCR *jcr)
 
    /* Tell File daemon we will send data */
    fd->fsend(OK_data);
-   set_jcr_job_status(jcr, JS_Running);
+   jcr->sendJobStatus(JS_Running);
    ok = read_records(dcr, record_cb, mount_next_read_volume);
 
    /* Send end of data to FD */