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/src/transports/tf_maildir.c | |
parent | 163144aab02a47427340d0ecc75e2abde675f4c9 (diff) | |
download | exim4-3d2e82c5729148f3f88fbb7de7e6dcbc20d0c867.tar.gz |
tidying: CCSS macro
Diffstat (limited to 'src/src/transports/tf_maildir.c')
-rw-r--r-- | src/src/transports/tf_maildir.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/src/transports/tf_maildir.c b/src/src/transports/tf_maildir.c index 611895e06..4d5c0c1a9 100644 --- a/src/src/transports/tf_maildir.c +++ b/src/src/transports/tf_maildir.c @@ -147,10 +147,8 @@ if (maildirfolder_create_regex != NULL) DEBUG(D_transport) debug_printf("checking for maildirfolder requirement\n"); - regex = pcre_compile(CS maildirfolder_create_regex, PCRE_COPT, - (const char **)&error, &offset, NULL); - - if (regex == NULL) + if (!(regex = pcre_compile(CS maildirfolder_create_regex, PCRE_COPT, + CCSS &error, &offset, NULL))) { addr->message = string_sprintf("appendfile: regular expression " "error: %s at offset %d while compiling %s", error, offset, |