From 8260ce675e4c20f39232e6550085aed7f672c473 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 4 Apr 2007 21:30:20 +0000 Subject: [PATCH] ebl fix git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4511 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/patches/testing/breg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bacula/patches/testing/breg.c b/bacula/patches/testing/breg.c index 1dee7128bb..976a17cc6a 100644 --- a/bacula/patches/testing/breg.c +++ b/bacula/patches/testing/breg.c @@ -393,19 +393,19 @@ char *bregexp_build_where(char *strip_prefix, *str_tmp = *ret = '\0'; - if (*strip_prefix) { + if (strip_prefix) { len += bsnprintf(ret, str_size - len, "!%s!!", bregexp_escape_string(str_tmp, strip_prefix, sep)); } - if (*add_suffix) { + if (add_suffix) { if (len) ret[len++] = ','; len += bsnprintf(ret + len, str_size - len, "!([^/])$!$1%s!", bregexp_escape_string(str_tmp, add_suffix, sep)); } - if (*add_prefix) { + if (add_prefix) { if (len) ret[len++] = ','; len += bsnprintf(ret + len, str_size - len, "!^!%s!", -- 2.39.5