fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 17 Oct 2011 10:07:09 +0000 (10:07 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 17 Oct 2011 10:07:09 +0000 (10:07 +0000)
src/ats/ats_api_scheduling.c

index d35d1bfe06b1fce7e991daf668df7ed6809109c1..dc90e31316836273f875e29e8b130bec0b9470e7 100644 (file)
@@ -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) ||