From b2df2dafcd42e0ffefc9a9a47d72afcb551a9c2b Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Fri, 18 Dec 1998 19:12:36 +0000 Subject: [PATCH] add ISC_R_NOTFOUND --- lib/isc/include/isc/result.h | 3 ++- lib/isc/result.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/isc/include/isc/result.h b/lib/isc/include/isc/result.h index 872aee3f35..fa22965831 100644 --- a/lib/isc/include/isc/result.h +++ b/lib/isc/include/isc/result.h @@ -43,7 +43,8 @@ typedef unsigned int isc_result_t; #define ISC_R_CANCELED 20 #define ISC_R_TASKNOSEND 21 #define ISC_R_TASKSHUTTINGDOWN 22 /* task is shutting down */ -#define ISC_R_LASTENTRY 22 /* last entry in the list */ +#define ISC_R_NOTFOUND 23 +#define ISC_R_LASTENTRY 23 /* last entry in the list */ #define ISC_R_UNEXPECTED 0xFFFFFFFFL diff --git a/lib/isc/result.c b/lib/isc/result.c index 8afd5c75d9..b529ba9f60 100644 --- a/lib/isc/result.c +++ b/lib/isc/result.c @@ -43,6 +43,7 @@ static char *text_table[ISC_R_LASTENTRY + 1] = { "operation canceled", /* 20 */ "sending events is not allowed", /* 21 */ "task is shutting down", /* 22 */ + "Not found", /* 23 */ }; char *