]> git.sur5r.net Git - bacula/bacula/commitdiff
Clear volcatinfo buf in askdir
authorKern Sibbald <kern@sibbald.com>
Mon, 21 Jul 2003 17:22:25 +0000 (17:22 +0000)
committerKern Sibbald <kern@sibbald.com>
Mon, 21 Jul 2003 17:22:25 +0000 (17:22 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@643 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/kernstodo
bacula/src/stored/askdir.c

index d7bc5160eebfc1f1be79e1073c9ea2373fb68687..09bc8af4da091bd68917dfc3871d2d3bfa461a5f 100644 (file)
@@ -63,26 +63,6 @@ Testing to do: (painful)
 - Figure out how to use ssh or stunnel to protect Bacula communications.
 
 For 1.31 release:
-- Backup on havana gave:
-   *status storage
-   The defined Storage resources are:
-        1: File
-        2: DDS-3
-   Select Storage resource (1-2): 2
-   Connecting to Storage daemon DDS-3 at havana:9103
-
-   havana-sd Version: 1.31 (08 Jul 2003)
-   Daemon started 10-Jul-2003 19:06, 0 Jobs run.
-   Device /tmp is not open.
-   Device /dev/nst0 is mounted with Volume "msu-8Jul03"
-       Device is being initialized.
-       Total Bytes Read=4,629,249,084,728,272,628 Blocks Read=0 Bytes/block=134,735,604
-       Positioned at File=0 Block=0
-   Full Backup job msu-8Jul03 using Volume "msu-backup.2003-07-10_19.06.42" on device /dev/nst0
-       Files=0 Bytes=0 Bytes/sec=0
-       FDReadSeqNo=6 in_msg=6 out_msg=6 fd=7
-   ====
-
 - Do full check the command line args in update (e.g. VolStatus ...).
 - Maybe remove multiple simultaneous devices code in SD.
 - Increment DB version prior to releasing.
@@ -91,7 +71,6 @@ For 1.31 release:
   a file (and thus restore it) because the total length is too long.
   We must cd into the directory then create the file without the
   full path name.
-- Move JobFiles and JobBytes to SD rather than FD -- more correct.
 - lstat() is not going to work on Win32 for testing date.
 - Implement a Recycle command
 - Something is not right in last block of fill command.
@@ -102,8 +81,6 @@ For 1.31 release:
 
 
 For 1.32:
-- Implement a Recycle or Prune Current Volume (as from Nic Bellamy),
-  possibly implement Prune Oldest Volume.
 - Allow multiple Storage specifications (or multiple names on
   a single Storage specification) in the Job record. Thus a job 
   can be backed up to a number of storage devices.
@@ -1077,3 +1054,9 @@ Done: (see kernsdone for more)
 - Update Automatic Volume Labeling in disk.wml
 - Figure out how to handle DHCP IP addresses -- use dynamic DNS.
 - Add OS, GCC version to traceback output.
+- Implement a Recycle or Prune Current Volume (as from Nic Bellamy),
+  possibly implement Prune Oldest Volume.
+- Backup on havana gave:
+  Total Bytes Read=4,629,249,084,728,272,628 Blocks Read=0 Bytes/block=134,735,604
+- Move JobFiles and JobBytes to SD rather than FD -- more correct.
+
index a48dc5de7cdc43b5cfb49b068fa354f472357a44..00d40bce4c91e9bb487d869685711ceb0d73f4cd 100644 (file)
@@ -79,6 +79,7 @@ static int do_request_volume_info(JCR *jcr)
        Mmsg(&jcr->errmsg, _("Network error on bnet_recv in req_vol_info.\n"));
        return 0;
     }
+    memset(&vol, 0, sizeof(vol));
     if (sscanf(dir->msg, OK_media, vol.VolCatName, 
               &vol.VolCatJobs, &vol.VolCatFiles,
               &vol.VolCatBlocks, &vol.VolCatBytes,