diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-05-22 12:46:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-05-22 12:46:38 +0000 |
commit | c056219af471cbc1e316fa7fb44c0575bc7b0f03 (patch) | |
tree | 4066835386095f9d5533767e8e936d263b1ba0c9 /src/set/test_set_api.c | |
parent | 93287c8fecfc7fce37f0d9dfb1dc5b1bd7a9f7b3 (diff) | |
download | gnunet-c056219af471cbc1e316fa7fb44c0575bc7b0f03.tar.gz gnunet-c056219af471cbc1e316fa7fb44c0575bc7b0f03.zip |
-nicer
Diffstat (limited to 'src/set/test_set_api.c')
-rw-r--r-- | src/set/test_set_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/set/test_set_api.c b/src/set/test_set_api.c index 66e7a81d1..bf0d65697 100644 --- a/src/set/test_set_api.c +++ b/src/set/test_set_api.c | |||
@@ -153,6 +153,7 @@ init_set1 (void) | |||
153 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "initialized set 1\n"); | 153 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "initialized set 1\n"); |
154 | } | 154 | } |
155 | 155 | ||
156 | |||
156 | /** | 157 | /** |
157 | * Signature of the 'main' function for a (single-peer) testcase that | 158 | * Signature of the 'main' function for a (single-peer) testcase that |
158 | * is run using 'GNUNET_TESTING_peer_run'. | 159 | * is run using 'GNUNET_TESTING_peer_run'. |
@@ -170,8 +171,7 @@ run (void *cls, | |||
170 | static const char* app_str = "gnunet-set"; | 171 | static const char* app_str = "gnunet-set"; |
171 | 172 | ||
172 | config = cfg; | 173 | config = cfg; |
173 | GNUNET_CRYPTO_hash (app_str, strlen (app_str), &app_id); | 174 | GNUNET_TESTING_peer_get_identity (peer, &local_id); |
174 | GNUNET_CRYPTO_get_host_identity (cfg, &local_id); | ||
175 | set1 = GNUNET_SET_create (cfg, GNUNET_SET_OPERATION_UNION); | 175 | set1 = GNUNET_SET_create (cfg, GNUNET_SET_OPERATION_UNION); |
176 | set2 = GNUNET_SET_create (cfg, GNUNET_SET_OPERATION_UNION); | 176 | set2 = GNUNET_SET_create (cfg, GNUNET_SET_OPERATION_UNION); |
177 | init_set1 (); | 177 | init_set1 (); |