Parent Directory | Revision Log | Revision Graph
* Mon Dec 5 2016 Daniel Berteaud <daniel@firewall-services.com> 1.03-18 - Consider literal <> as null sender [SME: 9883]
1 | diff -Nur qmail-1.03/qmail-inject.c qmail-1.03_bz9884/qmail-inject.c |
2 | --- qmail-1.03/qmail-inject.c 1998-06-15 12:53:16.000000000 +0200 |
3 | +++ qmail-1.03_bz9884/qmail-inject.c 2016-12-05 16:47:13.607016769 +0100 |
4 | @@ -269,6 +269,10 @@ |
5 | token822_alloc *addr; |
6 | { |
7 | if (!addr->len) return; /* don't rewrite <> */ |
8 | + if (addr->len == 1 && str_equal(addr->t[0].s,"<>")) { |
9 | + addr->len = 0; |
10 | + return; |
11 | + } |
12 | if (addr->len >= 2) |
13 | if (addr->t[1].type == TOKEN822_AT) |
14 | if (addr->t[0].type == TOKEN822_LITERAL) |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |