1.8.0alpha3 delete_verb() bug and patch

"Nate Massey" (natem@ctdnet.acns.nwu.edu)
Wed, 27 Dec 1995 22:51:30 PST


I noticed this and was about to write on this list, but it looks
like someone beat me to it.  However, I would suggest the following
patch instead:

 Replace the following code in the bf_delete_verb() function in verbs.c:

     if ((e = validate_verb_descriptor(desc)) != E_NONE)
         /* Do nothing; e is already set. */

 With the following code:

     if ((e = validate_verb_descriptor(desc)) != E_NONE);
         /* Do nothing; e is already set. */

But that's just because that's how I like to program my C. :)
(And it's a one-byte patch :)

--Nate

(that's line 227 on verbs.c, by the way)