diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-11-27 09:50:41 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-11-27 09:50:41 +0000 |
commit | 44bb721ef043f99e97d60231438b9e71104d99d7 (patch) | |
tree | 476330cbfe2031fa3e3daecf8bf3c45a5156b800 /src/set/test_set_api.c | |
parent | bf716069e987193e1ee0d06bbc4af245e6ffa821 (diff) | |
download | gnunet-44bb721ef043f99e97d60231438b9e71104d99d7.tar.gz gnunet-44bb721ef043f99e97d60231438b9e71104d99d7.zip |
eliminating useless salt argument, salt can be generated inside of gnunet-service-set
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 5bbbded5d..63188eb60 100644 --- a/src/set/test_set_api.c +++ b/src/set/test_set_api.c | |||
@@ -130,7 +130,7 @@ start (void *cls) | |||
130 | 130 | ||
131 | listen_handle = GNUNET_SET_listen (config, GNUNET_SET_OPERATION_UNION, | 131 | listen_handle = GNUNET_SET_listen (config, GNUNET_SET_OPERATION_UNION, |
132 | &app_id, listen_cb, NULL); | 132 | &app_id, listen_cb, NULL); |
133 | oh = GNUNET_SET_prepare (&local_id, &app_id, &context_msg, 42, | 133 | oh = GNUNET_SET_prepare (&local_id, &app_id, &context_msg, |
134 | GNUNET_SET_RESULT_ADDED, | 134 | GNUNET_SET_RESULT_ADDED, |
135 | result_cb_set1, NULL); | 135 | result_cb_set1, NULL); |
136 | GNUNET_SET_commit (oh, set1); | 136 | GNUNET_SET_commit (oh, set1); |
@@ -275,7 +275,7 @@ run (void *cls, | |||
275 | 275 | ||
276 | 276 | ||
277 | ///* test if canceling an uncommited request works! */ | 277 | ///* test if canceling an uncommited request works! */ |
278 | my_oh = GNUNET_SET_prepare (&local_id, &app_id, NULL, 0, | 278 | my_oh = GNUNET_SET_prepare (&local_id, &app_id, NULL, |
279 | GNUNET_SET_RESULT_ADDED, NULL, NULL); | 279 | GNUNET_SET_RESULT_ADDED, NULL, NULL); |
280 | 280 | ||
281 | GNUNET_SET_operation_cancel (my_oh); | 281 | GNUNET_SET_operation_cancel (my_oh); |