aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-service-gns_interceptor.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-28 09:58:07 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-28 09:58:07 +0000
commitae4f506a574161c3baaf071d491f8c4987bc0623 (patch)
tree6cf85f6933fdfdb562bcc85e7d4926cab0dc2d50 /src/gns/gnunet-service-gns_interceptor.c
parentbc0b7fac93289d5b310a23837c55acd5ee11027b (diff)
downloadgnunet-ae4f506a574161c3baaf071d491f8c4987bc0623.tar.gz
gnunet-ae4f506a574161c3baaf071d491f8c4987bc0623.zip
Andrew Cann wrote:
This patch changes the name of a couple of variables that had c++-incompatible names and adds a header file to gnunet_network_lib.h https://canndrew.org/misc/change_cpp_incompatible_variable_names.diff
Diffstat (limited to 'src/gns/gnunet-service-gns_interceptor.c')
-rw-r--r--src/gns/gnunet-service-gns_interceptor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/gnunet-service-gns_interceptor.c b/src/gns/gnunet-service-gns_interceptor.c
index 3f4c0664f..be7a46f51 100644
--- a/src/gns/gnunet-service-gns_interceptor.c
+++ b/src/gns/gnunet-service-gns_interceptor.c
@@ -185,7 +185,7 @@ reply_to_dns (void *cls, uint32_t rd_count,
185 } 185 }
186 GNUNET_break (0 == (rd[i - skip_answers].flags & GNUNET_NAMESTORE_RF_RELATIVE_EXPIRATION)); 186 GNUNET_break (0 == (rd[i - skip_answers].flags & GNUNET_NAMESTORE_RF_RELATIVE_EXPIRATION));
187 answer_records[i - skip_answers].expiration_time.abs_value_us = rd[i].expiration_time; 187 answer_records[i - skip_answers].expiration_time.abs_value_us = rd[i].expiration_time;
188 answer_records[i - skip_answers].class = GNUNET_TUN_DNS_CLASS_INTERNET; 188 answer_records[i - skip_answers].dns_traffic_class = GNUNET_TUN_DNS_CLASS_INTERNET;
189 } 189 }
190 else 190 else
191 { 191 {
@@ -242,7 +242,7 @@ reply_to_dns (void *cls, uint32_t rd_count,
242 } 242 }
243 GNUNET_break (0 == (rd[i - skip_additional].flags & GNUNET_NAMESTORE_RF_RELATIVE_EXPIRATION)); 243 GNUNET_break (0 == (rd[i - skip_additional].flags & GNUNET_NAMESTORE_RF_RELATIVE_EXPIRATION));
244 additional_records[i - skip_additional].expiration_time.abs_value_us = rd[i].expiration_time; 244 additional_records[i - skip_additional].expiration_time.abs_value_us = rd[i].expiration_time;
245 additional_records[i - skip_additional].class = GNUNET_TUN_DNS_CLASS_INTERNET; 245 additional_records[i - skip_additional].dns_traffic_class = GNUNET_TUN_DNS_CLASS_INTERNET;
246 } 246 }
247 } 247 }
248 packet->num_answers = num_answers - skip_answers; 248 packet->num_answers = num_answers - skip_answers;