[INN-COMMITTERS] inn (include/inn/tst.h lib/tst.c)

Russ Allbery Russ_Allbery at isc.org
Thu Dec 26 00:20:12 UTC 2002


    Date: Wednesday, December 25, 2002 @ 16:20:12
  Author: rra
    Path: /dist1/cvs/isc/inn/inn

Modified: include/inn/tst.h lib/tst.c

Various cleanups.  Return TST_NULL_DATA if someone calls tst_insert with a
NULL data pointer rather than just warning about it in the documentation.
Use bool for boolean variables.  Use '\0' instead of 0 when specifically
checking for the nul character rather than just a 0 or non-zero value.
Check for a NULL key pointer in tst_delete and tst_search.


-------------------+
 include/inn/tst.h |    3 +-
 lib/tst.c         |   55 ++++++++++++++++++++++------------------------------
 2 files changed, 26 insertions(+), 32 deletions(-)


More information about the inn-committers mailing list