diff options
Diffstat (limited to 'src/zonemaster/gnunet-service-zonemaster.c')
-rw-r--r-- | src/zonemaster/gnunet-service-zonemaster.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/zonemaster/gnunet-service-zonemaster.c b/src/zonemaster/gnunet-service-zonemaster.c index e478ceeab..3a8ac4be1 100644 --- a/src/zonemaster/gnunet-service-zonemaster.c +++ b/src/zonemaster/gnunet-service-zonemaster.c | |||
@@ -596,14 +596,13 @@ convert_records_for_export (const struct GNUNET_GNSRECORD_Data *rd, | |||
596 | now = GNUNET_TIME_absolute_get (); | 596 | now = GNUNET_TIME_absolute_get (); |
597 | for (unsigned int i = 0; i < rd_count; i++) | 597 | for (unsigned int i = 0; i < rd_count; i++) |
598 | { | 598 | { |
599 | if (0 != (rd[i].flags & GNUNET_GNSRECORD_RF_PRIVATE)) | ||
600 | continue; | ||
601 | /* Should always be private but just to be sure */ | ||
602 | if (GNUNET_GNSRECORD_TYPE_TOMBSTONE == rd[i].record_type) | 599 | if (GNUNET_GNSRECORD_TYPE_TOMBSTONE == rd[i].record_type) |
603 | { | 600 | { |
604 | tombstone = rd[i].data; | 601 | tombstone = rd[i].data; |
605 | continue; | 602 | continue; |
606 | } | 603 | } |
604 | if (0 != (rd[i].flags & GNUNET_GNSRECORD_RF_PRIVATE)) | ||
605 | continue; | ||
607 | if ((0 == (rd[i].flags & GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION)) && | 606 | if ((0 == (rd[i].flags & GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION)) && |
608 | (rd[i].expiration_time < now.abs_value_us)) | 607 | (rd[i].expiration_time < now.abs_value_us)) |
609 | continue; /* record already expired, skip it */ | 608 | continue; /* record already expired, skip it */ |