mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
Fix a style bug, and a real bug (&& vs. & misused).
Submitted by: bde
This commit is contained in:
parent
d89d1a9b36
commit
57392071e8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32234
@ -442,7 +442,8 @@ infix(hp, fi)
|
||||
return(fi);
|
||||
}
|
||||
(void) rm(tempMail);
|
||||
(void) puthead(hp, nfo, GTO|GSUBJECT|GCC|GBCC|GREPLYTO|GINREPLYTO|GNL|GCOMMA);
|
||||
(void) puthead(hp, nfo,
|
||||
GTO|GSUBJECT|GCC|GBCC|GREPLYTO|GINREPLYTO|GNL|GCOMMA);
|
||||
c = getc(fi);
|
||||
while (c != EOF) {
|
||||
(void) putc(c, nfo);
|
||||
@ -488,9 +489,9 @@ puthead(hp, fo, w)
|
||||
fmt("Cc:", hp->h_cc, fo, w&GCOMMA), gotcha++;
|
||||
if (hp->h_bcc != NIL && w & GBCC)
|
||||
fmt("Bcc:", hp->h_bcc, fo, w&GCOMMA), gotcha++;
|
||||
if (hp->h_replyto != NOSTR && w && GREPLYTO)
|
||||
if (hp->h_replyto != NOSTR && w & GREPLYTO)
|
||||
fprintf(fo, "Reply-To: %s\n", hp->h_replyto), gotcha++;
|
||||
if (hp->h_inreplyto != NOSTR && w && GINREPLYTO)
|
||||
if (hp->h_inreplyto != NOSTR && w & GINREPLYTO)
|
||||
fprintf(fo, "In-Reply-To: <%s>\n", hp->h_inreplyto), gotcha++;
|
||||
if (gotcha && w & GNL)
|
||||
(void) putc('\n', fo);
|
||||
|
Loading…
Reference in New Issue
Block a user