From: Wouter Wijngaards Date: Thu, 3 Jun 2010 13:38:09 +0000 (+0000) Subject: review fixes. X-Git-Tag: release-1.4.5rc1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b65fa84ea5dbf4b4b85c7361912fc3053ecc55d3;p=thirdparty%2Funbound.git review fixes. git-svn-id: file:///svn/unbound/trunk@2138 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/daemon/cachedump.c b/daemon/cachedump.c index b92a96959..ee88b11c2 100644 --- a/daemon/cachedump.c +++ b/daemon/cachedump.c @@ -404,7 +404,7 @@ load_rr(SSL* ssl, ldns_buffer* buf, struct regional* region, status = ldns_rr_new_frm_str(&rr, (char*)ldns_buffer_begin(buf), LDNS_DEFAULT_TTL, NULL, NULL); if(status != LDNS_STATUS_OK) { - log_warn("error cannot parse rr :%s: %s", + log_warn("error cannot parse rr: %s: %s", ldns_get_errorstr_by_id(status), (char*)ldns_buffer_begin(buf)); return 0; @@ -421,7 +421,7 @@ load_rr(SSL* ssl, ldns_buffer* buf, struct regional* region, ldns_buffer_skip(buf, 2); status = ldns_rr_rdata2buffer_wire(buf, rr); if(status != LDNS_STATUS_OK) { - log_warn("error cannot rr2wire :%s", + log_warn("error cannot rr2wire: %s", ldns_get_errorstr_by_id(status)); ldns_rr_free(rr); return 0; @@ -445,7 +445,7 @@ load_rr(SSL* ssl, ldns_buffer* buf, struct regional* region, ldns_buffer_clear(buf); status = ldns_dname2buffer_wire(buf, ldns_rr_owner(rr)); if(status != LDNS_STATUS_OK) { - log_warn("error cannot dname2buffer :%s", + log_warn("error cannot dname2buffer: %s", ldns_get_errorstr_by_id(status)); ldns_rr_free(rr); return 0; diff --git a/iterator/iter_fwd.c b/iterator/iter_fwd.c index 1c476f05d..c8b233915 100644 --- a/iterator/iter_fwd.c +++ b/iterator/iter_fwd.c @@ -236,7 +236,7 @@ read_forwards(struct iter_forwards* fwd, struct config_file* cfg) return 0; } /* set flag that parent side NS information is included. - * Asking an (higher up) server on the internet is not useful*/ + * Asking a (higher up) server on the internet is not useful */ dp->has_parent_side_NS = 1; if(!read_fwds_name(fwd, s, dp) || !read_fwds_host(fwd, s, dp) ||