Pass correct size to write(2).
PR: bin/155915 Submitted by: John Levine MFC after: 2 weeks
This commit is contained in:
parent
d452fb8af7
commit
0aa7541b66
@ -346,7 +346,7 @@ closecal(FILE *fp)
|
||||
write(pdes[1], pw->pw_name, strlen(pw->pw_name));
|
||||
write(pdes[1], ">\nTo: <", 7);
|
||||
write(pdes[1], pw->pw_name, strlen(pw->pw_name));
|
||||
write(pdes[1], ">\nSubject: ", 12);
|
||||
write(pdes[1], ">\nSubject: ", 11);
|
||||
write(pdes[1], dayname, strlen(dayname));
|
||||
write(pdes[1], "'s Calendar\nPrecedence: bulk\n\n", 30);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user