From: Matthias Wachs Date: Thu, 22 Nov 2012 15:29:52 +0000 (+0000) Subject: fix uninitialized mem X-Git-Tag: initial-import-from-subversion-38251~10734 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=71896114a4f9c2bd7eb1c3f67cc7ba23d6522152;p=oweals%2Fgnunet.git fix uninitialized mem --- diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c index 8bc077664..3249ed42a 100644 --- a/src/ats/gnunet-service-ats_performance.c +++ b/src/ats/gnunet-service-ats_performance.c @@ -178,6 +178,7 @@ GAS_performance_notify_client (struct PerformanceClient *pc, msg = (struct PeerInformationMessage *) buf; msg->header.size = htons (msize); msg->header.type = htons (GNUNET_MESSAGE_TYPE_ATS_PEER_INFORMATION); + msg->id = htonl (0); msg->ats_count = htonl (atsi_count); msg->peer = *peer; msg->address_length = htons (plugin_addr_len);