From: Matthijs Mekking Date: Wed, 1 Aug 2012 20:25:54 +0000 (+0000) Subject: new error code X-Git-Tag: release-1.6.14rc1~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=752aa027b7735119bcc35ea5f2efcee3fbb1db45;p=thirdparty%2Fldns.git new error code --- diff --git a/error.c b/error.c index cf6788ff..c885e2b6 100644 --- a/error.c +++ b/error.c @@ -65,6 +65,7 @@ ldns_lookup_table ldns_error_str[] = { { LDNS_STATUS_WIRE_INCOMPLETE_AUTHORITY, "authority section incomplete" }, { LDNS_STATUS_WIRE_INCOMPLETE_ADDITIONAL, "additional section incomplete" }, { LDNS_STATUS_NO_DATA, "No data" }, + { LDNS_STATUS_EXISTS_ERR, "Element already exists" }, { LDNS_STATUS_CERT_BAD_ALGORITHM, "Bad algorithm type for CERT record" }, { LDNS_STATUS_SYNTAX_TYPE_ERR, "Syntax error, could not parse the RR's type" }, { LDNS_STATUS_SYNTAX_CLASS_ERR, "Syntax error, could not parse the RR's class" }, diff --git a/ldns/error.h b/ldns/error.h index 6396a934..c9869f0d 100644 --- a/ldns/error.h +++ b/ldns/error.h @@ -75,6 +75,7 @@ enum ldns_enum_status { LDNS_STATUS_WIRE_INCOMPLETE_AUTHORITY, LDNS_STATUS_WIRE_INCOMPLETE_ADDITIONAL, LDNS_STATUS_NO_DATA, + LDNS_STATUS_EXISTS_ERR, LDNS_STATUS_CERT_BAD_ALGORITHM, LDNS_STATUS_SYNTAX_TYPE_ERR, LDNS_STATUS_SYNTAX_CLASS_ERR,