From b6c6939e0a02f14cbd2cd7437d1a6d68b0689e8f Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Mon, 23 Oct 2000 21:46:38 +0000 Subject: In the Key Found code, don't display the string in the debug code since it doesn't exist anymore when we display it. Doh! --- src/ternary.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ternary.c b/src/ternary.c index 196cfb3..e9bf351 100644 --- a/src/ternary.c +++ b/src/ternary.c @@ -1,4 +1,4 @@ -/* $Id: ternary.c,v 1.2 2000-09-26 04:59:20 rjkaes Exp $ +/* $Id: ternary.c,v 1.3 2000-10-23 21:46:38 rjkaes Exp $ * * This module creates a Ternary Search Tree which can store both string * keys, and arbitrary data for each key. It works similar to a hash, and @@ -314,7 +314,7 @@ int ternary_insert(TERNARY tno, const char *s, void *data) while ((pp = *p)) { if ((d = *s - pp->splitchar) == 0) { if (*s++ == 0) { - DEBUG2("Key exists: %s", s); + DEBUG2("Key exists"); return TE_EXISTS; } p = &(pp->eqkid); -- cgit v1.2.3