From d10733a5a3bf2c9ec3b5106e5f268cfd2ffebbc2 Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Thu, 8 Jun 2000 19:23:04 +0000 Subject: [PATCH] add ISC_R_ENTROPY --- lib/isc/include/isc/result.h | 3 ++- lib/isc/result.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/isc/include/isc/result.h b/lib/isc/include/isc/result.h index 29262d6ad4..a53e14bc72 100644 --- a/lib/isc/include/isc/result.h +++ b/lib/isc/include/isc/result.h @@ -63,8 +63,9 @@ #define ISC_R_FILEEXISTS 39 #define ISC_R_NOTCONNECTED 40 /* socket is not connected */ #define ISC_R_RANGE 41 /* out of range */ +#define ISC_R_ENTROPY 42 /* out of entropy */ -#define ISC_R_NRESULTS 42 /* Number of results */ +#define ISC_R_NRESULTS 43 /* Number of results */ ISC_LANG_BEGINDECLS diff --git a/lib/isc/result.c b/lib/isc/result.c index 99a2b4d1c9..acea08dd8d 100644 --- a/lib/isc/result.c +++ b/lib/isc/result.c @@ -77,7 +77,8 @@ static const char *text[ISC_R_NRESULTS] = { "file not found", /* 38 */ "file already exists", /* 39 */ "socket is not connected", /* 40 */ - "out of range" /* 41 */ + "out of range", /* 41 */ + "out of entropy" /* 42 */ }; #define ISC_RESULT_RESULTSET 2