summaryrefslogtreecommitdiff
path: root/rr.c
diff options
context:
space:
mode:
authorWillem Toorop <willem@NLnetLabs.nl>2011-05-18 16:15:05 +0200
committerWillem Toorop <willem@NLnetLabs.nl>2011-05-18 16:15:05 +0200
commit0dda99c38ed3766a7fa0c38df3bad4e6e91b7e80 (patch)
treee7ca0c515e16faf88c4a30ab81838806f0471747 /rr.c
parent8a5ebca165f46debc1c7e8ac73536c14d76c8e89 (diff)
downloadldns-0dda99c38ed3766a7fa0c38df3bad4e6e91b7e80.tar.gz
code review #1: Extra info on NSEC records only when verbosity is up
code review #2: Rename serial_arithmitics_gmtime_r to ldns_serial_arithmitics_gmtime_r (and all the other added functions in util.h) and add to ldns_symbols.def. code review #3: Comment swap of ldns_dnssec_verify_denial_nsec3_match, ldns_verify_rrsig_buffers and ldns_dnssec_verify_denial_nsec3 code review #4: Finishing the sentence in the comment about opt-out handling in function ldns_dnssec_create_nsec3. code review #5: Just do rd-strlen = strlen(rd) once in rr.c code review #6: Moved setting of output variables from acx_nlnetlabs.m4 to configure.ac so acx_nlnetlabs.m4 doesn't have to be merged into NSD and Unbound.
Diffstat (limited to 'rr.c')
-rw-r--r--rr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/rr.c b/rr.c
index 5be57851..672525e3 100644
--- a/rr.c
+++ b/rr.c
@@ -441,7 +441,6 @@ ldns_rr_new_frm_str_internal(ldns_rr **newrr, const char *str,
ldns_rr_free(new);
return LDNS_STATUS_SYNTAX_RDATA_ERR;
}
- rd_strlen = strlen(rd);
rd_strlen = strlen(rd);
strncpy(hex_data_str + cur_hex_data_size, rd, rd_strlen);
cur_hex_data_size += rd_strlen;