mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Fix sizeof [r]buf typo
This commit is contained in:
parent
cc7d1433bb
commit
f0364e25d1
@ -142,7 +142,7 @@ copy_replog(
|
||||
/*
|
||||
* Make our own private copy of the replication log.
|
||||
*/
|
||||
while (( p = fgets( rbuf, sizeof( buf ), rfp )) != NULL ) {
|
||||
while (( p = fgets( rbuf, sizeof( rbuf ), rfp )) != NULL ) {
|
||||
fputs( rbuf, dfp );
|
||||
}
|
||||
/* Only truncate the source file if we're not in one-shot mode */
|
||||
|
Loading…
Reference in New Issue
Block a user