On Fri, 16 Jan 1998, Chuck Reed wrote:
>Hi. I had some probs with george's bugfix calling a null name. I just
>changed it to
>
> if(!GET_NAME(dt->character))
> continue;
> else
> return FALSE;
for (dt = descriptor_list; dt; dt = dt->next)
if (GET_NAME(dt->character) && !str_cmp(GET_NAME(dt->character), newname))
return FALSE;
It already checks for a NULL name so I don't see why that helps, and you're
not doing a str_cmp there either!
--
George Greer - Me@Null.net | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST