aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/gnunet-service-revocation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-11-27 10:04:14 +0000
committerChristian Grothoff <christian@grothoff.org>2014-11-27 10:04:14 +0000
commit47c52147dac6bc423b43aa8e2721585df893440b (patch)
treef70838a0ad5400cc100ec948a6ccb6295a509379 /src/revocation/gnunet-service-revocation.c
parent4d376fad783520443f21216de0eed2d8cfc43c97 (diff)
downloadgnunet-47c52147dac6bc423b43aa8e2721585df893440b.tar.gz
gnunet-47c52147dac6bc423b43aa8e2721585df893440b.zip
rename element's type field to 'element_type'
Diffstat (limited to 'src/revocation/gnunet-service-revocation.c')
-rw-r--r--src/revocation/gnunet-service-revocation.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/revocation/gnunet-service-revocation.c b/src/revocation/gnunet-service-revocation.c
index 0c75c14c3..7ef5cbc81 100644
--- a/src/revocation/gnunet-service-revocation.c
+++ b/src/revocation/gnunet-service-revocation.c
@@ -268,8 +268,8 @@ publicize_rm (const struct RevokeMessage *rm)
268 GNUNET_CONTAINER_multihashmap_contains (revocation_map, 268 GNUNET_CONTAINER_multihashmap_contains (revocation_map,
269 &hc)) 269 &hc))
270 { 270 {
271 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 271 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
272 _("Duplicate revocation received from peer. Ignored.\n")); 272 "Duplicate revocation received from peer. Ignored.\n");
273 return GNUNET_OK; 273 return GNUNET_OK;
274 } 274 }
275 if (GNUNET_OK != 275 if (GNUNET_OK !=
@@ -304,7 +304,7 @@ publicize_rm (const struct RevokeMessage *rm)
304 GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)); 304 GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY));
305 /* add to set for future connections */ 305 /* add to set for future connections */
306 e.size = htons (rm->header.size); 306 e.size = htons (rm->header.size);
307 e.type = 0; 307 e.element_type = 0;
308 e.data = rm; 308 e.data = rm;
309 if (GNUNET_OK != 309 if (GNUNET_OK !=
310 GNUNET_SET_add_element (revocation_set, 310 GNUNET_SET_add_element (revocation_set,
@@ -413,7 +413,7 @@ add_revocation (void *cls,
413 GNUNET_break_op (0); 413 GNUNET_break_op (0);
414 return; 414 return;
415 } 415 }
416 if (0 != element->type) 416 if (0 != element->element_type)
417 { 417 {
418 GNUNET_STATISTICS_update (stats, 418 GNUNET_STATISTICS_update (stats,
419 "# unsupported revocations received via set union", 419 "# unsupported revocations received via set union",