From: wessels <> Date: Fri, 16 May 1997 05:40:25 +0000 (+0000) Subject: xmemcpy X-Git-Tag: SQUID_3_0_PRE1~5003 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d6d7104a553448863dbe4367cc046cfb4d7ad62e;p=thirdparty%2Fsquid.git xmemcpy --- diff --git a/src/net_db.cc b/src/net_db.cc index 62ba5e1835..ecf4e07b70 100644 --- a/src/net_db.cc +++ b/src/net_db.cc @@ -1,6 +1,6 @@ /* - * $Id: net_db.cc,v 1.35 1997/05/15 01:18:47 wessels Exp $ + * $Id: net_db.cc,v 1.36 1997/05/15 23:40:25 wessels Exp $ * * DEBUG: section 37 Network Measurement Database * AUTHOR: Duane Wessels @@ -399,7 +399,7 @@ netdbReloadState(void) continue; N.last_use_time = (time_t) atoi(t); n = xcalloc(1, sizeof(netdbEntry)); - memcpy(n, &N, sizeof(netdbEntry)); + xmemcpy(n, &N, sizeof(netdbEntry)); netdbHashInsert(n, addr); while ((t = strtok(NULL, w_space)) != NULL) netdbHashLink(n, t);