From cb9593519b56a8a0b90a7052a92f2b55452f50ec Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 17 Oct 2011 10:07:09 +0000 Subject: [PATCH] fix --- src/ats/ats_api_scheduling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) || -- 2.25.1