diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2000-10-23 21:46:38 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2000-10-23 21:46:38 +0000 |
commit | b6c6939e0a02f14cbd2cd7437d1a6d68b0689e8f (patch) | |
tree | c2a11b82501cee4d188fb751d4c83541cad932ba | |
parent | 1de608ec5c0f306ed82ce7f5356165b9716a2190 (diff) | |
download | tinyproxy-b6c6939e0a02f14cbd2cd7437d1a6d68b0689e8f.tar.gz tinyproxy-b6c6939e0a02f14cbd2cd7437d1a6d68b0689e8f.zip |
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!
Diffstat (limited to '')
-rw-r--r-- | src/ternary.c | 4 |
1 files 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); |