From: Matthijs Mekking Date: Tue, 22 May 2012 09:57:08 +0000 (+0000) Subject: comment characters before printing error to fd X-Git-Tag: release-1.6.14rc1~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0112b2d5a4a58b38f00ff80338b60277fd407b99;p=thirdparty%2Fldns.git comment characters before printing error to fd --- diff --git a/host2str.c b/host2str.c index 0e1c66ef..636d80d6 100644 --- a/host2str.c +++ b/host2str.c @@ -2168,20 +2168,20 @@ ldns_rdf_print(FILE *output, const ldns_rdf *rdf) if (str) { fprintf(output, "%s", str); } else { - fprintf(output, "Unable to convert rdf to string\n"); + fprintf(output, ";Unable to convert rdf to string\n"); } LDNS_FREE(str); } void -ldns_rr_print_fmt(FILE *output, +ldns_rr_print_fmt(FILE *output, const ldns_output_format *fmt, const ldns_rr *rr) { char *str = ldns_rr2str_fmt(fmt, rr); if (str) { fprintf(output, "%s", str); } else { - fprintf(output, "Unable to convert rr to string\n"); + fprintf(output, ";Unable to convert rr to string\n"); } LDNS_FREE(str); } @@ -2200,7 +2200,7 @@ ldns_pkt_print_fmt(FILE *output, if (str) { fprintf(output, "%s", str); } else { - fprintf(output, "Unable to convert packet to string\n"); + fprintf(output, ";Unable to convert packet to string\n"); } LDNS_FREE(str); }