--- Richard Lindsey <[EMAIL PROTECTED]> wrote:
> One quick edit on that last post... I think that...
> 
>    /* Count the members in the linked list */
>    for (nmemb = 0, help = help_first; help != NULL; help =
> help->next,nmemb++);
> 
>    return if(!nmemb);
>  
>    /* Create an array to store them */
>    help_array= alloc_mem(sizeof(help) * i);
>    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this line
> 
> should actually read:
> 
>    help_array= alloc_mem(sizeof(help) * nmemb);
> 


Yeah, sorry. Doing too many things at once this morning =)


~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! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

Reply via email to