]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Change connection error code to distinguish from TLS errors
authorEric Bollengier <eric@baculasystems.com>
Thu, 15 Dec 2022 08:42:18 +0000 (09:42 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:57:00 +0000 (13:57 +0200)
bacula/src/lib/bsockcore.c

index 67b38cd98f14106d5f1f367a9cc0912bf593a61a..3da2f569abda811d7047c8072633bfed16ce90e1 100644 (file)
@@ -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;
       }