--- "Despret, Jerome" <[EMAIL PROTECTED]> wrote:
> In do_quit i suspect this piece of code ( i eblieve it look like Rom 2.4b4 )
> to sometime run in infinite loop. In GDB you can then see the code going
> back and forth
> between extract_char and stop_fighting.
> I didn't find any other place where extract_char is called in a loop. anyone
> heard of something
> like that before ?
> 
> /* toast evil cheating bastards */ 
> for (d = descriptor_list; d != NULL; d = d_next) 
> { 
>       CHAR_DATA *tch; 
>       d_next = d->next; 
>       tch = d->original ? d->original : d->character;
>        if (tch && tch->id == id) 
>       { 
>       extract_char(tch,TRUE); c
>       close_socket(d); 
>       } 
> }

This shouldn't be an infinite loop, unless you've somehow messed up your
descriptor list chain. What does the code for your copy of extract_char and
stop_fighting look like?

~Kender

=====
-----BEGIN GEEK CODE BLOCK-----
Version 3.1
GCS/L/C/O d-(+) s++:+ a-- C+++$>++++ UBLS++++$ 
P+++(--)$ L++>+++ E--- W+>++$ N !o K? w(--) !O 
M- !V PS+ PE(++) Y+ PGP->+ t- 5 X+() R(+) tv+@ 
b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++
------END GEEK CODE BLOCK------

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

Reply via email to