summaryrefslogtreecommitdiff
path: root/rr.c
diff options
context:
space:
mode:
authorMatthijs Mekking <matje@NLnetLabs.nl>2012-06-04 15:39:11 +0200
committerMatthijs Mekking <matje@NLnetLabs.nl>2012-06-04 15:39:11 +0200
commitbc90a1698a69299232773c8679490167fd6c80ba (patch)
tree8ba61010c55ad7ac516b9c5ee57e3f7bbec28a3c /rr.c
parent56674c1ab59cacc92b5efa58067c25e373b51072 (diff)
downloadldns-bc90a1698a69299232773c8679490167fd6c80ba.tar.gz
if we print (null) in an RR, we should return an error status
(maybe even set buffer status to error?)
Diffstat (limited to 'rr.c')
-rw-r--r--rr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rr.c b/rr.c
index 8f4ce85c..e11594f5 100644
--- a/rr.c
+++ b/rr.c
@@ -119,7 +119,7 @@ ldns_rr_new_frm_str_internal(ldns_rr **newrr, const char *str,
char *type = NULL;
char *rdata = NULL;
char *rd = NULL;
- char *b64 = NULL;
+ char * b64 = NULL;
size_t rd_strlen;
const char *delimiters;
ssize_t c;