]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/filed/job.c
More plugin implementation
[bacula/bacula] / bacula / src / filed / job.c
index 6965a863a7edbcef93aa8b2e7e31110e5f9ebb30..5673a633cc1f2b3b8983b4b9c4a7cbb0a32d18b6 100644 (file)
@@ -313,12 +313,6 @@ void *handle_client_request(void *dirp)
             fo->base.destroy();
             fo->fstype.destroy();
             fo->drivetype.destroy();
-            if (fo->reader) {
-               free(fo->reader);
-            }
-            if (fo->writer) {
-               free(fo->writer);
-            }
          }
          incexe->opts_list.destroy();
          incexe->name_list.destroy();
@@ -846,12 +840,12 @@ static void add_fileset(JCR *jcr, const char *item)
       break;
    case 'D':
       current_opts = start_options(ff);
-      current_opts->reader = bstrdup(item);
+//    current_opts->reader = bstrdup(item);
       state = state_options;
       break;
    case 'T':
       current_opts = start_options(ff);
-      current_opts->writer = bstrdup(item);
+//    current_opts->writer = bstrdup(item);
       state = state_options;
       break;
    default:
@@ -905,12 +899,6 @@ static bool term_fileset(JCR *jcr)
          for (k=0; k<fo->drivetype.size(); k++) {
             Dmsg1(400, "XD %s\n", (char *)fo->drivetype.get(k));
          }
-         if (fo->reader) {
-            Dmsg1(400, "D %s\n", fo->reader);
-         }
-         if (fo->writer) {
-            Dmsg1(400, "T %s\n", fo->writer);
-         }
       }
       dlistString *node;
       foreach_dlist(node, &incexe->name_list) {