From a887b8faf82c4b05e6fd8df783d8eb7c3cee0d22 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Wed, 12 Aug 1998 01:00:42 +0000 Subject: [PATCH] Can't use memcpy on StatCounters structures! --- src/stat.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stat.cc b/src/stat.cc index 4477664cef..35d22510c4 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -1,6 +1,6 @@ /* - * $Id: stat.cc,v 1.273 1998/07/30 23:31:09 wessels Exp $ + * $Id: stat.cc,v 1.274 1998/08/11 19:00:42 wessels Exp $ * * DEBUG: section 18 Cache Manager Statistics * AUTHOR: Harvest Derived @@ -826,7 +826,7 @@ statAvgTick(void *notused) StatCounters *t = &CountHourHist[1]; StatCounters *c = &CountHist[N_COUNT_HIST]; xmemmove(p, t, (N_COUNT_HOUR_HIST - 1) * sizeof(StatCounters)); - memcpy(t, c, sizeof(StatCounters)); + statCountersCopy(t, c); NCountHourHist++; } } -- 2.47.3