Re: [CODE] do_dig modifications for OasisOLC

From: Ron Martin (rmartin@deepthought.org)
Date: 01/08/01


> > if (!buf || !buf2)
>
> You really only need to check for (!*buf2) since if there is no first
> arg then there obviously isn't any second arg.
>
> Regards, Peter

But then there's the situation where there is a first arg, but no second
arg: "dig n"

Of course, I'm not one to talk, since I made the errors in the first
place ;-).

Ron

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/03/01 PST