]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix #9791 About incorrect connection message generated during a Virtual Full
authorEric Bollengier <eric@baculasystems.com>
Wed, 4 Jan 2023 14:16:36 +0000 (15:16 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:57:00 +0000 (13:57 +0200)
Issue introduced in 14.1

bacula/src/dird/vbackup.c

index a1606e85c90f114806e1d9c5012e024f269db061..af254535a8eb66847fbc457c02730d0cddc44351 100644 (file)
@@ -346,9 +346,9 @@ _("This Job is not an Accurate backup so is not equivalent to a Full backup.\n")
       return false;
    }
    sd = jcr->store_bsock;
-   build_connecting_info_log(_("Storage"), jcr->store_mngr->get_rstore()->name(),
-                             get_storage_address(jcr->client, jcr->store_mngr->get_rstore()),
-                             jcr->store_mngr->get_rstore()->SDport,
+   build_connecting_info_log(_("Storage"), jcr->store_mngr->get_wstore()->name(),
+                             get_storage_address(jcr->client, jcr->store_mngr->get_wstore()),
+                             jcr->store_mngr->get_wstore()->SDport,
                              sd->tls ? true : false, buf.addr());
    Jmsg(jcr, M_INFO, 0, "%s", buf.c_str());