X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fstored%2Fappend.c;h=78c85243699fce3a848016aa43fb486c0148999d;hb=5acaefa52eef9207ee62d4fe9d231701c0dc4529;hp=402324fa4da84a091367f77c2d09deef69ead8fd;hpb=22a266f343aa3573413db9089450a87b6e1a766b;p=bacula%2Fbacula diff --git a/bacula/src/stored/append.c b/bacula/src/stored/append.c index 402324fa4d..78c8524369 100644 --- a/bacula/src/stored/append.c +++ b/bacula/src/stored/append.c @@ -305,11 +305,10 @@ bool do_append_data(JCR *jcr) Dmsg0(100, _("Set ok=FALSE after write_block_to_device.\n")); ok = false; } + if (dev->VolCatInfo.VolCatName[0] == 0) { + Pmsg0(000, _("NULL Volume name. This shouldn't happen!!!\n")); + } } - if (dev->VolCatInfo.VolCatName[0] == 0) { - Pmsg0(000, _("NULL Volume name. This shouldn't happen!!!\n")); - } - if (!ok) {