mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix prev commit
This commit is contained in:
parent
a4a7ffdf5c
commit
214d7e3750
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user