diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-01-26 20:27:26 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-01-26 20:27:26 +0100 |
commit | 2b4e3aa66dc66c6c5c6f74c60c597e734b539ff6 (patch) | |
tree | 240cda05651bf8822b3eb47dee3a6781b064277a /mexport.c | |
parent | c561aca4c9affa597d6a36d39d8a65c58ca78c87 (diff) | |
download | mblaze-2b4e3aa66dc66c6c5c6f74c60c597e734b539ff6.tar.gz mblaze-2b4e3aa66dc66c6c5c6f74c60c597e734b539ff6.tar.xz mblaze-2b4e3aa66dc66c6c5c6f74c60c597e734b539ff6.zip |
clean up whitespace
Diffstat (limited to 'mexport.c')
-rw-r--r-- | mexport.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mexport.c b/mexport.c index 7c31609..60a986d 100644 --- a/mexport.c +++ b/mexport.c @@ -29,8 +29,8 @@ export(char *file) char from[1024] = "nobody"; - char *v; - if ((v = blaze822_hdr(msg, "return-path")) || + char *v; + if ((v = blaze822_hdr(msg, "return-path")) || (v = blaze822_hdr(msg, "x-envelope-from"))) { char *s = strchr(v, '<'); char *e = strchr(s, '>'); @@ -39,10 +39,10 @@ export(char *file) memcpy(from, s, e-s); from[e-s] = 0; } - } + } time_t date = -1; - if ((v = blaze822_hdr(msg, "date"))) { + if ((v = blaze822_hdr(msg, "date"))) { date = blaze822_date(v); } |