diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-22 15:53:02 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-22 15:53:02 +0000 |
commit | 8e896c6775a5603526c584c7bb75d19458fbabba (patch) | |
tree | 14d4213d5601ab64eeb458811b3b4bf5e1f161b3 /src/transport/test_quota_compliance.c | |
parent | 0f5b3f7e765e07c0201529837b502540820c0e07 (diff) | |
download | gnunet-8e896c6775a5603526c584c7bb75d19458fbabba.tar.gz gnunet-8e896c6775a5603526c584c7bb75d19458fbabba.zip |
Diffstat (limited to 'src/transport/test_quota_compliance.c')
-rw-r--r-- | src/transport/test_quota_compliance.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c index e24a298d2..22519144a 100644 --- a/src/transport/test_quota_compliance.c +++ b/src/transport/test_quota_compliance.c | |||
@@ -119,12 +119,12 @@ end () | |||
119 | measurement_counter_task = GNUNET_SCHEDULER_NO_TASK; | 119 | measurement_counter_task = GNUNET_SCHEDULER_NO_TASK; |
120 | } | 120 | } |
121 | GNUNET_SCHEDULER_shutdown (sched); | 121 | GNUNET_SCHEDULER_shutdown (sched); |
122 | #if VERBOSE | 122 | #if DEBUG_CONNECTIONS |
123 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Disconnecting from transports!\n"); | 123 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Disconnecting from transports!\n"); |
124 | #endif | 124 | #endif |
125 | GNUNET_TRANSPORT_disconnect (p1.th); | 125 | GNUNET_TRANSPORT_disconnect (p1.th); |
126 | GNUNET_TRANSPORT_disconnect (p2.th); | 126 | GNUNET_TRANSPORT_disconnect (p2.th); |
127 | #if VERBOSE | 127 | #if DEBUG_CONNECTIONS |
128 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 128 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
129 | "Transports disconnected, returning success!\n"); | 129 | "Transports disconnected, returning success!\n"); |
130 | #endif | 130 | #endif |
@@ -334,7 +334,7 @@ static void measure (unsigned long long quota_p1, unsigned long long quota_p2 ) | |||
334 | current_quota_p2 = quota_p2; | 334 | current_quota_p2 = quota_p2; |
335 | #if VERBOSE | 335 | #if VERBOSE |
336 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 336 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
337 | "Starting measurement: Duration: %u Quota: %u\n", MEASUREMENT_INTERVALL, current_quota_p1); | 337 | "Starting transport level measurement: Duration: %u Quota: %u\n", MEASUREMENT_INTERVALL, current_quota_p1); |
338 | #endif | 338 | #endif |
339 | GNUNET_TRANSPORT_set_quota (p1.th, | 339 | GNUNET_TRANSPORT_set_quota (p1.th, |
340 | &p2.id, | 340 | &p2.id, |