[Prev][Next][Index][Thread]

# Re: 1.8.0alpha3 delete_verb() bug and patch

- Date: Wed, 27 Dec 1995 22:51:30 PST
- From:
- cc: moo-cows.PARC@xerox.com
- Content-Length: 599
- Content-Type: text
- In-Reply-to: "<TCPSMTP.15.12.27.-10.26.2.2239992234.175230@bbs.calbbs.com> from \"sysop@calbbs.com\" at Dec 27, 95 10:26:02 pm to make"

    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)

References:

- 1.8.0alpha3 delete_verb() bug and patch

- From: sysop@calbbs.com

- Prev: 1.8.0alpha3 delete_verb() bug and patch
- Next: Re: 1.8.0alpha3 delete_verb() bug and patch
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index