X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fstored%2Fbls.c;h=ac881fba80b611cd9e00b953b5dcd82eba6f7400;hb=afd4ac31e0f65357c5264c04b804e86b2095a304;hp=a86c09943cfd20de6a316e65a95185e079b4e831;hpb=217e5ed47147cd420ed0799a96868a561bfd6b57;p=bacula%2Fbacula diff --git a/bacula/src/stored/bls.c b/bacula/src/stored/bls.c index a86c09943c..ac881fba80 100644 --- a/bacula/src/stored/bls.c +++ b/bacula/src/stored/bls.c @@ -1,7 +1,7 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2000-2008 Free Software Foundation Europe e.V. + Copyright (C) 2000-2009 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. @@ -407,7 +407,9 @@ static bool record_cb(DCR *dcr, DEV_RECORD *rec) num_files++; } } else if (rec->Stream == STREAM_PLUGIN_NAME) { - Pmsg1(000, "Plugin name: %s\n", rec->data); + if (strncmp("0 0", rec->data, 3) != 0) { + Pmsg1(000, "Plugin data: %s\n", rec->data); + } } return true; @@ -453,7 +455,7 @@ static void get_session_record(DEVICE *dev, DEV_RECORD *rec, SESSION_LABEL *sess /* Dummies to replace askdir.c */ bool dir_find_next_appendable_volume(DCR *dcr) { return 1;} bool dir_update_volume_info(DCR *dcr, bool relabel, bool update_LastWritten) { return 1; } -bool dir_create_jobmedia_record(DCR *dcr) { return 1; } +bool dir_create_jobmedia_record(DCR *dcr, bool zero) { return 1; } bool dir_ask_sysop_to_create_appendable_volume(DCR *dcr) { return 1; } bool dir_update_file_attributes(DCR *dcr, DEV_RECORD *rec) { return 1;} bool dir_send_job_status(JCR *jcr) {return 1;}