Fix sizeof [r]buf typo

This commit is contained in:
Kurt Zeilenga 2002-09-16 21:35:33 +00:00
parent cc7d1433bb
commit f0364e25d1

View File

@ -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 */