summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/queue_fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/queue_fs.c')
-rw-r--r--usr.sbin/smtpd/queue_fs.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/smtpd/queue_fs.c b/usr.sbin/smtpd/queue_fs.c
index cd1a3215b6b..0751e7c2589 100644
--- a/usr.sbin/smtpd/queue_fs.c
+++ b/usr.sbin/smtpd/queue_fs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue_fs.c,v 1.12 2015/12/14 10:22:12 jung Exp $ */
+/* $OpenBSD: queue_fs.c,v 1.13 2015/12/28 22:08:30 jung Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@poolp.org>
@@ -80,7 +80,7 @@ queue_fs_message_create(uint32_t *msgid)
char rootdir[PATH_MAX];
struct stat sb;
- if (! fsqueue_check_space())
+ if (!fsqueue_check_space())
return 0;
again:
@@ -258,7 +258,7 @@ queue_fs_message_uncorrupt(uint32_t msgid)
return (0);
}
- if (! bsnprintf(bucketdir, sizeof bucketdir, "%s/%02x", PATH_QUEUE,
+ if (!bsnprintf(bucketdir, sizeof bucketdir, "%s/%02x", PATH_QUEUE,
(msgid & 0xff000000) >> 24)) {
log_warnx("warn: queue-fs: path too long");
return (0);
@@ -403,7 +403,7 @@ queue_fs_message_walk(uint64_t *evpid, char *buf, size_t len,
if (*done)
return (-1);
- if (! bsnprintf(path, sizeof path, "%s/%02x/%08x",
+ if (!bsnprintf(path, sizeof path, "%s/%02x/%08x",
PATH_QUEUE, (msgid & 0xff000000) >> 24, msgid))
fatalx("queue_fs_message_walk: path does not fit buffer");
@@ -538,7 +538,7 @@ fsqueue_check_space(void)
static void
fsqueue_envelope_path(uint64_t evpid, char *buf, size_t len)
{
- if (! bsnprintf(buf, len, "%s/%02x/%08x/%016" PRIx64,
+ if (!bsnprintf(buf, len, "%s/%02x/%08x/%016" PRIx64,
PATH_QUEUE,
(evpid_to_msgid(evpid) & 0xff000000) >> 24,
evpid_to_msgid(evpid),
@@ -549,7 +549,7 @@ fsqueue_envelope_path(uint64_t evpid, char *buf, size_t len)
static void
fsqueue_envelope_incoming_path(uint64_t evpid, char *buf, size_t len)
{
- if (! bsnprintf(buf, len, "%s/%08x/%016" PRIx64,
+ if (!bsnprintf(buf, len, "%s/%08x/%016" PRIx64,
PATH_INCOMING,
evpid_to_msgid(evpid),
evpid))
@@ -615,7 +615,7 @@ tempfail:
static void
fsqueue_message_path(uint32_t msgid, char *buf, size_t len)
{
- if (! bsnprintf(buf, len, "%s/%02x/%08x",
+ if (!bsnprintf(buf, len, "%s/%02x/%08x",
PATH_QUEUE,
(msgid & 0xff000000) >> 24,
msgid))
@@ -625,7 +625,7 @@ fsqueue_message_path(uint32_t msgid, char *buf, size_t len)
static void
fsqueue_message_corrupt_path(uint32_t msgid, char *buf, size_t len)
{
- if (! bsnprintf(buf, len, "%s/%08x",
+ if (!bsnprintf(buf, len, "%s/%08x",
PATH_CORRUPT,
msgid))
fatalx("fsqueue_message_corrupt_path: path does not fit buffer");
@@ -634,7 +634,7 @@ fsqueue_message_corrupt_path(uint32_t msgid, char *buf, size_t len)
static void
fsqueue_message_incoming_path(uint32_t msgid, char *buf, size_t len)
{
- if (! bsnprintf(buf, len, "%s/%08x",
+ if (!bsnprintf(buf, len, "%s/%08x",
PATH_INCOMING,
msgid))
fatalx("fsqueue_message_incoming_path: path does not fit buffer");