--------------------- PatchSet 4763 Date: 2007/06/21 11:06:12 Author: amosjeffries Branch: squid3-ipv6 Tag: (none) Log: Fix some invalid memset init of IPAddress variables Members: src/peer_select.cc:1.9.4.12->1.9.4.13 Index: squid3/src/peer_select.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/peer_select.cc,v retrieving revision 1.9.4.12 retrieving revision 1.9.4.13 diff -u -r1.9.4.12 -r1.9.4.13 --- squid3/src/peer_select.cc 3 Jun 2007 12:14:48 -0000 1.9.4.12 +++ squid3/src/peer_select.cc 21 Jun 2007 11:06:12 -0000 1.9.4.13 @@ -1,6 +1,6 @@ /* - * $Id: peer_select.cc,v 1.9.4.12 2007/06/03 12:14:48 amosjeffries Exp $ + * $Id: peer_select.cc,v 1.9.4.13 2007/06/21 11:06:12 amosjeffries Exp $ * * DEBUG: section 44 Peer Selection Algorithm * AUTHOR: Duane Wessels @@ -791,6 +791,8 @@ callback (NULL), callback_data (NULL), servers (NULL), + first_parent_miss(), + closest_parent_miss(), hit(NULL), hit_type(PEER_NONE), #if ALLOW_SOURCE_PING @@ -799,8 +801,7 @@ #endif acl_checklist (NULL) { - memset(&first_parent_miss, '\0', sizeof(first_parent_miss)); - memset(&closest_parent_miss, '\0', sizeof(closest_parent_miss)); + ; // no local defaults. } ping_data::ping_data() :