Skip to content
Snippets Groups Projects
Commit ca44bd4a authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

Fix prev commit

parent ffffcee0
No related branches found
No related tags found
No related merge requests found
......@@ -398,7 +398,7 @@ spew_file( int fd, const char *spew, int len, int *save_errno )
int writeres;
#define HEADER "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.\n"
writeres = write(fd, HEADER, sizeof(HEADER));
writeres = write(fd, HEADER, sizeof(HEADER)-1);
while(len > 0) {
writeres = write(fd, spew, len);
if(writeres == -1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment