diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-23 17:36:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-23 17:36:38 +0000 |
commit | f6e78410faa57f57c0d82690c67e4fcb25f96bab (patch) | |
tree | 11d6ed87735eb444b911ad9bb2bcabf7bd1ba18c /src/transport/gnunet-service-transport.c | |
parent | 2665611db7c4267bd765b3f9f4478629390ecc31 (diff) | |
download | gnunet-f6e78410faa57f57c0d82690c67e4fcb25f96bab.tar.gz gnunet-f6e78410faa57f57c0d82690c67e4fcb25f96bab.zip |
fixing quota violation messages
Diffstat (limited to 'src/transport/gnunet-service-transport.c')
-rw-r--r-- | src/transport/gnunet-service-transport.c | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 691319c33..4f03d2e46 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c | |||
@@ -292,20 +292,10 @@ plugin_env_receive_callback (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
292 | #if 1 | 292 | #if 1 |
293 | /* FIXME: this should not be needed, and not sure it's good to have it, but without | 293 | /* FIXME: this should not be needed, and not sure it's good to have it, but without |
294 | this connections seem to go extra-slow */ | 294 | this connections seem to go extra-slow */ |
295 | if ((ats_count > 0) && (ats != NULL)) | 295 | GNUNET_ATS_address_update (GST_ats, peer, |
296 | { | 296 | plugin_name, sender_address, sender_address_len, |
297 | if (NULL != session) | 297 | session, |
298 | GNUNET_log_from (GNUNET_ERROR_TYPE_INFO | GNUNET_ERROR_TYPE_BULK, | 298 | ats, ats_count); |
299 | "transport-ats", | ||
300 | "Giving ATS session %p of plugin %s for peer %s\n", | ||
301 | session, | ||
302 | plugin_name, | ||
303 | GNUNET_i2s (peer)); | ||
304 | GNUNET_ATS_address_update (GST_ats, peer, | ||
305 | plugin_name, sender_address, sender_address_len, | ||
306 | session, | ||
307 | ats, ats_count); | ||
308 | } | ||
309 | #endif | 299 | #endif |
310 | #if DEBUG_TRANSPORT | 300 | #if DEBUG_TRANSPORT |
311 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 301 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |