diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-17 10:07:09 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-17 10:07:09 +0000 |
commit | cb9593519b56a8a0b90a7052a92f2b55452f50ec (patch) | |
tree | 2d0a978e04153256cb098261207728da3d1dcc21 /src/ats | |
parent | 7a869109cf7b6e58af7cccc5ef2bcfa9b84d4fc8 (diff) | |
download | gnunet-cb9593519b56a8a0b90a7052a92f2b55452f50ec.tar.gz gnunet-cb9593519b56a8a0b90a7052a92f2b55452f50ec.zip |
fix
Diffstat (limited to 'src/ats')
-rw-r--r-- | src/ats/ats_api_scheduling.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
597 | uint32_t session_id; | 597 | uint32_t session_id; |
598 | 598 | ||
599 | namelen = (plugin_name == NULL) ? 0 : strlen (plugin_name) + 1; | 599 | namelen = (plugin_name == NULL) ? 0 : strlen (plugin_name) + 1; |
600 | msize = sizeof (struct AddressUpdateMessage) + plugin_addr_len + | 600 | msize = sizeof (struct AddressDestroyedMessage) + plugin_addr_len + |
601 | namelen; | 601 | namelen; |
602 | if ( (msize >= GNUNET_SERVER_MAX_MESSAGE_SIZE) || | 602 | if ( (msize >= GNUNET_SERVER_MAX_MESSAGE_SIZE) || |
603 | (plugin_addr_len >= GNUNET_SERVER_MAX_MESSAGE_SIZE) || | 603 | (plugin_addr_len >= GNUNET_SERVER_MAX_MESSAGE_SIZE) || |