From: Christian Grothoff Date: Mon, 17 Oct 2011 10:07:09 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~16480 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cb9593519b56a8a0b90a7052a92f2b55452f50ec;p=oweals%2Fgnunet.git fix --- diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c index d35d1bfe0..dc90e3131 100644 --- a/src/ats/ats_api_scheduling.c +++ b/src/ats/ats_api_scheduling.c @@ -597,7 +597,7 @@ GNUNET_ATS_address_destroyed (struct GNUNET_ATS_SchedulingHandle *sh, uint32_t session_id; namelen = (plugin_name == NULL) ? 0 : strlen (plugin_name) + 1; - msize = sizeof (struct AddressUpdateMessage) + plugin_addr_len + + msize = sizeof (struct AddressDestroyedMessage) + plugin_addr_len + namelen; if ( (msize >= GNUNET_SERVER_MAX_MESSAGE_SIZE) || (plugin_addr_len >= GNUNET_SERVER_MAX_MESSAGE_SIZE) ||