aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2020-02-10 23:02:15 +0100
committerGilles Chehade <gilles@poolp.org>2020-02-24 18:33:21 +0100
commit9ed0df4b8d0a48618e40d7454bc2c90c1c3dbd6a (patch)
tree769b79dfca75810b0cf7942310c262cb5808f7c1 /contrib
parentlog.c neede in lockspool (diff)
downloadOpenSMTPD-9ed0df4b8d0a48618e40d7454bc2c90c1c3dbd6a.tar.xz
OpenSMTPD-9ed0df4b8d0a48618e40d7454bc2c90c1c3dbd6a.zip
ifdef -> if
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libexec/lockspool/lockspool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libexec/lockspool/lockspool.c b/contrib/libexec/lockspool/lockspool.c
index 65de8ce7..9277241b 100644
--- a/contrib/libexec/lockspool/lockspool.c
+++ b/contrib/libexec/lockspool/lockspool.c
@@ -55,11 +55,11 @@ main(int argc, char *argv[])
char *from, c;
int holdfd;
-#ifdef HAVE_UNVEIL
+#if HAVE_UNVEIL
if (unveil(_PATH_MAILDIR, "rwc") == -1)
err(1, "unveil");
#endif
-#ifdef HAVE_PLEDGE
+#if HAVE_PLEDGE
if (pledge("stdio rpath wpath getpw cpath fattr", NULL) == -1)
err(1, "pledge");
#endif