From f0364e25d1d85ae50fb73d77841acf997bce9f50 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 16 Sep 2002 21:35:33 +0000 Subject: [PATCH] Fix sizeof [r]buf typo --- servers/slurpd/replog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.5