Re: Duping Bugfix

From: George (greerga@CIRCLEMUD.ORG)
Date: 01/16/98

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  -   | Genius may have its limitations, but stupidity | is not thus handicapped. -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST