2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

change FIND to SEARCH

This commit is contained in:
Bob Halley
1998-11-14 02:41:06 +00:00
parent 18e5d28c86
commit e60efa407d
2 changed files with 2 additions and 2 deletions

View File

@@ -6,6 +6,6 @@
typedef struct RBT_NODE *RBT_NODE_T; typedef struct RBT_NODE *RBT_NODE_T;
RBT_NODE_T RBT_FIND(RBT_NODE_T, RBT_KEY_T); RBT_NODE_T RBT_SEARCH(RBT_NODE_T, RBT_KEY_T);
void RBT_INSERT(RBT_NODE_T, RBT_NODE_T *); void RBT_INSERT(RBT_NODE_T, RBT_NODE_T *);
void RBT_PRINT(RBT_NODE_T); void RBT_PRINT(RBT_NODE_T);

View File

@@ -73,7 +73,7 @@ rotate_right(RBT_NODE_T node, RBT_NODE_T parent, RBT_NODE_T *rootp) {
} }
RBT_NODE_T RBT_NODE_T
RBT_FIND(RBT_NODE_T current, RBT_KEY_T key) { RBT_SEARCH(RBT_NODE_T current, RBT_KEY_T key) {
int i; int i;
while (current != NULL) { while (current != NULL) {