]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/parse_bsr.c
Massive SD calling sequence reorganization
[bacula/bacula] / bacula / src / stored / parse_bsr.c
index 3e469dadfea5078d25ea2740f65e74a3b5c8d375..4ff019b30c51ef272ebfef784fd06f822c736c10 100755 (executable)
@@ -51,7 +51,7 @@ static bool is_fast_rejection_ok(BSR *bsr);
 static bool is_positioning_ok(BSR *bsr);
 
 struct kw_items {
-   char *name;
+   const char *name;
    ITEM_HANDLER *handler;
 };
 
@@ -865,7 +865,7 @@ void create_vol_list(JCR *jcr)
       }
    } else {
       /* This is the old way -- deprecated */ 
-      for (p = jcr->VolumeName; p && *p; ) {
+      for (p = jcr->dcr->VolumeName; p && *p; ) {
          n = strchr(p, '|');             /* volume name separator */
         if (n) {
            *n++ = 0;                    /* Terminate name */