From: Alain Spineux Date: Thu, 18 Jan 2024 13:24:12 +0000 (+0100) Subject: Fix #10631 (1) remove unauthorized Jmsg() in BSOCK::recv() X-Git-Tag: Beta-15.0.1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=890af3e8363d6a5e0ec385d0269f9c741225f526;p=thirdparty%2Fbacula.git Fix #10631 (1) remove unauthorized Jmsg() in BSOCK::recv() - Jmsg() cannot be used in some critical part, recv() is on of them A Qmsg() and Pmsg() follow the removed Jmsg(), no information are lost - This is probably not the root cause of the #10631 problem - Replace the invalid Unicode "Registered Trade Mark" char --- diff --git a/bacula/src/lib/bsock.c b/bacula/src/lib/bsock.c index 3e1c20e93..d4f3f709d 100644 --- a/bacula/src/lib/bsock.c +++ b/bacula/src/lib/bsock.c @@ -606,7 +606,6 @@ int32_t BSOCK::recv() msglen += offset; } if (nbytes < 0) { - Jmsg1(m_jcr, M_ERROR, 0, "Decompress error!!!! ERR=%d\n", nbytes); Pmsg3(000, "Decompress error!! pktsiz=%d cmsgsiz=%d nbytes=%d\n", pktsiz, psize, nbytes); b_errno = EIO;