artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
760d039
)
do not use CRLF when passing data lines to filters.
author
eric
<eric@openbsd.org>
Wed, 15 May 2019 11:56:19 +0000
(11:56 +0000)
committer
eric
<eric@openbsd.org>
Wed, 15 May 2019 11:56:19 +0000
(11:56 +0000)
ok gilles@
usr.sbin/smtpd/smtp_session.c
patch
|
blob
|
history
diff --git
a/usr.sbin/smtpd/smtp_session.c
b/usr.sbin/smtpd/smtp_session.c
index
1fc67d7
..
db86abd
100644
(file)
--- a/
usr.sbin/smtpd/smtp_session.c
+++ b/
usr.sbin/smtpd/smtp_session.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: smtp_session.c,v 1.3
89 2019/02/20 11:56:27 gilles Exp $
*/
+/* $OpenBSD: smtp_session.c,v 1.3
90 2019/05/15 11:56:19 eric Exp $
*/
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@
-2685,7
+2685,7
@@
smtp_tx_filtered_dataline(struct smtp_tx *tx, const char *line)
if (tx->error)
return 0;
}
- io_printf(tx->filter, "%s\
r\
n", line ? line : ".");
+ io_printf(tx->filter, "%s\n", line ? line : ".");
return line ? 0 : 1;
}