]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Enable SD CAPS in hello()
authorEric Bollengier <eric@baculasystems.com>
Thu, 3 Dec 2020 17:03:57 +0000 (18:03 +0100)
committerEric Bollengier <eric@baculasystems.com>
Sat, 12 Dec 2020 15:35:44 +0000 (16:35 +0100)
bacula/src/stored/hello.c

index e9935d97f6c4755d07f045bc35b2efd9eff94c68..94b52fb8cd7f63207ec03ed6ec110173967fbc41 100644 (file)
@@ -377,7 +377,6 @@ bool send_hello_sd(JCR *jcr, char *Job, int tlspsk)
       return false;
    }
 
-#ifndef COMMUNITY
    /* Receive and send capabilities */
    if (!recv_sdcaps(jcr, sd)) {
       return false;
@@ -385,7 +384,6 @@ bool send_hello_sd(JCR *jcr, char *Job, int tlspsk)
    if (!send_fdcaps(jcr, sd)) {
       return false;
    }
-#endif
    return true;
 }
 
@@ -409,13 +407,6 @@ bool send_hello_client(JCR *jcr, char *Job)
    return rtn;
 }
 
-#ifdef COMMUNITY
-
-static bool send_sdcaps(JCR *jcr, BSOCK *cl) { return false; }
-static bool recv_fdcaps(JCR *jcr, BSOCK *cl, caps_fd *caps) { return false; }
-
-#else
-
 /*
  * Capabilities Exchange
  *
@@ -516,4 +507,3 @@ static bool recv_sdcaps(JCR *jcr, BSOCK *sd)
         dedup, hash, block_size, min_block_size, max_block_size);
    return true;
 }
-#endif