artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8fbdba
)
remove trailing whitespace
author
op
<op@openbsd.org>
Wed, 10 May 2023 07:19:08 +0000
(07:19 +0000)
committer
op
<op@openbsd.org>
Wed, 10 May 2023 07:19:08 +0000
(07:19 +0000)
usr.sbin/smtpd/mda.c
patch
|
blob
|
history
diff --git
a/usr.sbin/smtpd/mda.c
b/usr.sbin/smtpd/mda.c
index
edfd988
..
894bf86
100644
(file)
--- a/
usr.sbin/smtpd/mda.c
+++ b/
usr.sbin/smtpd/mda.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: mda.c,v 1.14
4 2023/02/08 08:20:54 tb
Exp $ */
+/* $OpenBSD: mda.c,v 1.14
5 2023/05/10 07:19:08 op
Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@
-507,7
+507,7
@@
mda_getlastline(int fd, char *dst, size_t dstsz)
size_t sz = 0;
ssize_t len;
int out = 0;
-
+
if (lseek(fd, 0, SEEK_SET) == -1) {
log_warn("warn: mda: lseek");
close(fd);