summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpctl.c
diff options
context:
space:
mode:
authorOmar Polo <op@cvs.openbsd.org>2023-05-15 12:03:05 +0000
committerOmar Polo <op@cvs.openbsd.org>2023-05-15 12:03:05 +0000
commitcba877f2a880525c3b48092e2a37c27e78445cb6 (patch)
tree14801a7f85d6aaee0e0f3879a602b727cf2d9198 /usr.sbin/smtpd/smtpctl.c
parenta88b392f9d0798e1ea5378f0d45accb615cf17c0 (diff)
cast to '(long long)' instead of '(long long int)'
while here adjust the spacing in some of the touched lines. requested by deraadt@, ok tb@
Diffstat (limited to 'usr.sbin/smtpd/smtpctl.c')
-rw-r--r--usr.sbin/smtpd/smtpctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpctl.c b/usr.sbin/smtpd/smtpctl.c
index cc98b93a4ba..84663025648 100644
--- a/usr.sbin/smtpd/smtpctl.c
+++ b/usr.sbin/smtpd/smtpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpctl.c,v 1.170 2022/02/25 17:31:40 rob Exp $ */
+/* $OpenBSD: smtpctl.c,v 1.171 2023/05/15 12:03:04 op Exp $ */
/*
* Copyright (c) 2013 Eric Faurot <eric@openbsd.org>
@@ -136,7 +136,7 @@ offline_file(void)
FILE *fp;
if (!bsnprintf(path, sizeof(path), "%s%s/%lld.XXXXXXXXXX", PATH_SPOOL,
- PATH_OFFLINE, (long long int) time(NULL)))
+ PATH_OFFLINE, (long long)time(NULL)))
err(EX_UNAVAILABLE, "snprintf");
if ((fd = mkstemp(path)) == -1 || (fp = fdopen(fd, "w+")) == NULL) {