diff options
Diffstat (limited to 'src/service/namestore/test_namestore_api_remove.c')
-rw-r--r-- | src/service/namestore/test_namestore_api_remove.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/service/namestore/test_namestore_api_remove.c b/src/service/namestore/test_namestore_api_remove.c index 4efdb7efa..f096c6310 100644 --- a/src/service/namestore/test_namestore_api_remove.c +++ b/src/service/namestore/test_namestore_api_remove.c | |||
@@ -136,11 +136,11 @@ put_cont (void *cls, | |||
136 | "Name store added record for `%s': %s\n", | 136 | "Name store added record for `%s': %s\n", |
137 | name, | 137 | name, |
138 | (GNUNET_EC_NONE == ec) ? "SUCCESS" : "FAIL"); | 138 | (GNUNET_EC_NONE == ec) ? "SUCCESS" : "FAIL"); |
139 | nsqe = GNUNET_NAMESTORE_records_store (nsh, | 139 | nsqe = GNUNET_NAMESTORE_record_set_store (nsh, |
140 | &privkey, | 140 | &privkey, |
141 | name, | 141 | name, |
142 | 0, NULL, | 142 | 0, NULL, |
143 | &remove_cont, (void *) name); | 143 | &remove_cont, (void *) name); |
144 | } | 144 | } |
145 | 145 | ||
146 | 146 | ||
@@ -158,7 +158,7 @@ run (void *cls, | |||
158 | privkey.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY); | 158 | privkey.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY); |
159 | GNUNET_CRYPTO_ecdsa_key_create (&privkey.ecdsa_key); | 159 | GNUNET_CRYPTO_ecdsa_key_create (&privkey.ecdsa_key); |
160 | GNUNET_CRYPTO_key_get_public (&privkey, | 160 | GNUNET_CRYPTO_key_get_public (&privkey, |
161 | &pubkey); | 161 | &pubkey); |
162 | 162 | ||
163 | removed = GNUNET_NO; | 163 | removed = GNUNET_NO; |
164 | 164 | ||
@@ -173,13 +173,13 @@ run (void *cls, | |||
173 | 173 | ||
174 | nsh = GNUNET_NAMESTORE_connect (cfg); | 174 | nsh = GNUNET_NAMESTORE_connect (cfg); |
175 | GNUNET_break (NULL != nsh); | 175 | GNUNET_break (NULL != nsh); |
176 | nsqe = GNUNET_NAMESTORE_records_store (nsh, | 176 | nsqe = GNUNET_NAMESTORE_record_set_store (nsh, |
177 | &privkey, | 177 | &privkey, |
178 | name, | 178 | name, |
179 | 1, | 179 | 1, |
180 | &rd, | 180 | &rd, |
181 | &put_cont, | 181 | &put_cont, |
182 | (void *) name); | 182 | (void *) name); |
183 | if (NULL == nsqe) | 183 | if (NULL == nsqe) |
184 | { | 184 | { |
185 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 185 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |