diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-09 15:30:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-09 15:30:22 +0000 |
commit | 5c7c6e303b1a46de5d8bab8eba7ec1e334c0b0eb (patch) | |
tree | a2a579bc87b79aadac7d88291a0591f4ced02aa8 /src/ats/gnunet-service-ats_scheduling.c | |
parent | ef9e50ff435266d37de3b5c54fbebbfa3a68db7c (diff) | |
download | gnunet-5c7c6e303b1a46de5d8bab8eba7ec1e334c0b0eb.tar.gz gnunet-5c7c6e303b1a46de5d8bab8eba7ec1e334c0b0eb.zip |
do proper check for stability, in particular UINT32_MAX-0 is not a delta of 1...
Diffstat (limited to 'src/ats/gnunet-service-ats_scheduling.c')
-rw-r--r-- | src/ats/gnunet-service-ats_scheduling.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ats/gnunet-service-ats_scheduling.c b/src/ats/gnunet-service-ats_scheduling.c index aba9858a1..74b83bf45 100644 --- a/src/ats/gnunet-service-ats_scheduling.c +++ b/src/ats/gnunet-service-ats_scheduling.c | |||
@@ -206,9 +206,6 @@ GAS_handle_address_update (void *cls, | |||
206 | uint32_t ats_count; | 206 | uint32_t ats_count; |
207 | uint16_t size; | 207 | uint16_t size; |
208 | 208 | ||
209 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
210 | "Received `%s' message\n", | ||
211 | "ADDRESS_UPDATE"); | ||
212 | size = ntohs (message->size); | 209 | size = ntohs (message->size); |
213 | if (size < sizeof (struct AddressUpdateMessage)) | 210 | if (size < sizeof (struct AddressUpdateMessage)) |
214 | { | 211 | { |