From: Eric Bollengier Date: Thu, 15 Dec 2022 08:42:18 +0000 (+0100) Subject: Change connection error code to distinguish from TLS errors X-Git-Tag: Beta-15.0.0~317 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba5860d0c3697756ac96a267d0a8f0e624d2c446;p=thirdparty%2Fbacula.git Change connection error code to distinguish from TLS errors --- diff --git a/bacula/src/lib/bsockcore.c b/bacula/src/lib/bsockcore.c index 67b38cd98..3da2f569a 100644 --- a/bacula/src/lib/bsockcore.c +++ b/bacula/src/lib/bsockcore.c @@ -263,7 +263,7 @@ bool BSOCKCORE::connect(JCR * jcr, int retry_interval, utime_t max_retry_time, bmicrosleep(retry_interval, 0); now = time(NULL); if (begin_time + max_retry_time <= now) { - Mmsg(errmsg, _("[%cE0064] Unable to connect to %s on %s:%d. ERR=%s\n"), + Mmsg(errmsg, _("[%cE0029] Unable to connect to %s on %s:%d. ERR=%s\n"), component_code, name, host, port, be.bstrerror()); goto bail_out; }