On Mon, Apr 15, 2002 at 02:11:06AM -0400, oioi wrote:
> My problem is this...Every time a character quits from my mud, it crashes.
> 
> I ran the debugger to find the exact line it was falling out...and it was in
> the do_quit function when it calls the str_dup function...here...
> 
>  /*
>      * After extract_char the ch is no longer valid!
>      */

Read this and act according to it ---^

>     save_char_obj( ch );
>     id = ch->id;
>     d = ch->desc;
>  d->host = str_dup(ch->pcdata->host);
>     extract_char( ch, TRUE );

That line with the str_dup() is not stock Rom. Why have you added it?

Edwin

-- 
Edwin Groothuis      |           Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED]    |        Interested in MUDs? Visit Fatal Dimensions:
bash$ :(){ :|:&};:   |                    http://www.FatalDimensions.org/

Reply via email to