]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix small logic issue in msgchan
authorEric Bollengier <eric@baculasystems.com>
Fri, 22 Apr 2022 09:27:02 +0000 (11:27 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:58 +0000 (13:56 +0200)
bacula/src/dird/msgchan.c

index cd6084fe7c8c963dec25bc598e3ca5633432e206..75b818d7b82f4ea08ef0ac63cecf633b2775d603 100644 (file)
@@ -93,7 +93,7 @@ bool connect_to_storage_daemon(JCR *jcr, int retry_interval,
                               int max_retry_time, int verbose)
 {
    BSOCK *sd = jcr->store_bsock;
-   STORE *store;
+   STORE *store = NULL ;
    utime_t heart_beat;
    STORE *wstore = jcr->store_mngr->get_wstore();
    POOL_MEM buf;