From: Kurt Zeilenga Date: Mon, 16 Sep 2002 21:35:33 +0000 (+0000) Subject: Fix sizeof [r]buf typo X-Git-Tag: NO_SLAP_OP_BLOCKS~969 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f0364e25d1d85ae50fb73d77841acf997bce9f50;p=openldap Fix sizeof [r]buf typo --- diff --git a/servers/slurpd/replog.c b/servers/slurpd/replog.c index d1f63a2295..471275a6df 100644 --- a/servers/slurpd/replog.c +++ b/servers/slurpd/replog.c @@ -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 */