From: Eric Bollengier Date: Thu, 3 Dec 2020 17:03:57 +0000 (+0100) Subject: Enable SD CAPS in hello() X-Git-Tag: Release-11.0.0~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f431a29bffadaa46eec00911a5f44e7c369ab51d;p=thirdparty%2Fbacula.git Enable SD CAPS in hello() --- diff --git a/bacula/src/stored/hello.c b/bacula/src/stored/hello.c index e9935d97f..94b52fb8c 100644 --- a/bacula/src/stored/hello.c +++ b/bacula/src/stored/hello.c @@ -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