diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-09-16 14:12:56 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-09-16 14:12:56 +0000 |
commit | 8583688db9b49c1bef90321e0c464fbfe9121885 (patch) | |
tree | e6f36ab5ab6ccc3204188dbba22c92dd5aa9e5f0 /src/dht/test_dhtlog.c | |
parent | 866acf084b375550e3db0044258d98e2c2fd8bf0 (diff) | |
download | gnunet-8583688db9b49c1bef90321e0c464fbfe9121885.tar.gz gnunet-8583688db9b49c1bef90321e0c464fbfe9121885.zip |
dhtlog inserts round info
Diffstat (limited to 'src/dht/test_dhtlog.c')
-rw-r--r-- | src/dht/test_dhtlog.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dht/test_dhtlog.c b/src/dht/test_dhtlog.c index 08ac6af65..667bf3d2a 100644 --- a/src/dht/test_dhtlog.c +++ b/src/dht/test_dhtlog.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include "gnunet_protocols.h" | 28 | #include "gnunet_protocols.h" |
29 | #include "dhtlog.h" | 29 | #include "dhtlog.h" |
30 | 30 | ||
31 | #define VERBOSE GNUNET_NO | 31 | #define VERBOSE GNUNET_YES |
32 | 32 | ||
33 | static int ok; | 33 | static int ok; |
34 | 34 | ||
@@ -178,6 +178,11 @@ test (struct GNUNET_DHTLOG_Handle * api) | |||
178 | #if VERBOSE | 178 | #if VERBOSE |
179 | fprintf(stderr, "Insert generic stat succeeded!\n"); | 179 | fprintf(stderr, "Insert generic stat succeeded!\n"); |
180 | #endif | 180 | #endif |
181 | ret = api->insert_round(401, 507); | ||
182 | CHECK(ret); | ||
183 | #if VERBOSE | ||
184 | fprintf(stderr, "Insert round succeeded!\n"); | ||
185 | #endif | ||
181 | return 0; | 186 | return 0; |
182 | } | 187 | } |
183 | 188 | ||