]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
xmemcpy
authorwessels <>
Fri, 16 May 1997 05:40:25 +0000 (05:40 +0000)
committerwessels <>
Fri, 16 May 1997 05:40:25 +0000 (05:40 +0000)
src/net_db.cc

index 62ba5e18357cc12ba929bf1ae3f7c4ba5dd2450e..ecf4e07b70c00ca03e7719883a941cb89eb13ad6 100644 (file)
@@ -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);