- Matching method propagation was wrong in new switch code.

- Some fixes for protocols that do not include matching send/read
  combo's. In particular, the max encryption level method ranged over
  the sends; now over all events. Maybe it can range over read events
  only?
This commit is contained in:
ccremers
2005-04-18 05:51:25 +00:00
parent 06a0a6c234
commit 9271cc7624
4 changed files with 62 additions and 25 deletions

View File

@@ -109,19 +109,17 @@ termlistDestroy (Termlist tl)
//! Determine whether a term is an element of a termlist.
/**
* Term must be non-null.
* The NULL term is not an element of any list. (Not even of the NULL list)
*
*@return True iff the term is an element of the termlist.
*/
__inline__ int
inTermlist (Termlist tl, const Term term)
{
#ifdef DEBUG
if (term == NULL)
{
error ("Trying to do inTermlist for a NULL term.");
return 0;
}
#endif
while (tl != NULL)
{
if (isTermEqual (tl->term, term))