diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-01-11 20:48:38 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-01-11 20:48:38 +0000 |
commit | 3d2e82c5729148f3f88fbb7de7e6dcbc20d0c867 (patch) | |
tree | dd1576cfade800c552f55d42a56a002ed5a0999b /src/exim_monitor | |
parent | 163144aab02a47427340d0ecc75e2abde675f4c9 (diff) | |
download | exim4-3d2e82c5729148f3f88fbb7de7e6dcbc20d0c867.tar.gz |
tidying: CCSS macro
Diffstat (limited to 'src/exim_monitor')
-rw-r--r-- | src/exim_monitor/em_init.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/exim_monitor/em_init.c b/src/exim_monitor/em_init.c index c9ef66a7e..b834d9a2b 100644 --- a/src/exim_monitor/em_init.c +++ b/src/exim_monitor/em_init.c @@ -70,9 +70,8 @@ for (i = 0; i <= 1; i++) { int offset; const uschar *error; - stripchart_regex[indx] = pcre_compile(CS buffer, PCRE_COPT, - (const char **)&error, &offset, NULL); - if (stripchart_regex[indx] == NULL) + if (!(stripchart_regex[indx] = pcre_compile(CS buffer, PCRE_COPT, + CCSS &error, &offset, NULL))) { printf("regular expression error: %s at offset %d " "while compiling %s\n", error, offset, buffer); @@ -231,7 +230,7 @@ queue_stripchart_name = (s != NULL)? string_copy(s) : US"queue"; /* Compile the regex for matching yyyy-mm-dd at the start of a string. */ yyyymmdd_regex = pcre_compile("^\\d{4}-\\d\\d-\\d\\d\\s", PCRE_COPT, - (const char **)&error, &erroroffset, NULL); + CCSS &error, &erroroffset, NULL); } /* End of em_init.c */ |