]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix incorrect ASSERTD().
authorRadosław Korzeniewski <radekk@inteos.pl>
Wed, 26 Jun 2019 09:55:13 +0000 (11:55 +0200)
committerRadosław Korzeniewski <radekk@inteos.pl>
Sat, 14 Dec 2019 14:54:14 +0000 (15:54 +0100)
bacula/src/dird/dird_conf.c

index 23fa07ac17672639ff2e2f7c97bd447ce46e68da..e25583a6145f54c750a5f4f0be3a02ae246701bc 100644 (file)
@@ -2525,7 +2525,7 @@ extern "C" char *job_code_callback_director(JCR *jcr, const char* param, char *b
    if (jcr == NULL) {
       return nothing;
    }
-   ASSERTD(buflen < 255, "buflen must be long enough to hold an ip address");
+   ASSERTD(buflen > 255, "buflen must be long enough to hold an ip address");
    switch (param[0]) {
       case 'f':
          if (jcr->fileset) {