[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Jan-Henrik Haukeland
Subject: Re: FYI
Date: 28 Jun 2002 02:55:58 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service)

Can you mail the patch again? 

Rory Toma <address@hidden> writes:

> > 
> >  1) Drop the ARRAYSIZE and static stuff, since you parse the stuff in
> >     the config file you can count the size and make this dynamic. and
> >     release memory in gc.c
> > 
> I ended up making socketlist size 32, and replacing ARRAYSIZE elsewhere
> in the code with n (number of interfaces + 1). I decided against
> dynamically allocating socketlist, as I put data in there before I know
> the total size. I can probably change this at a later date, but it would
> wouldn't save much for the effort.
> The reason for this is I pass in the interfaces from the config file as
> a : separated string, and strtok it out. I chose this because it was
> easy and straightforward for me to do.
> -- 
> Rory Toma             address@hidden
> VP of Run Level 5
> Digeo Digital

Jan-Henrik Haukeland

reply via email to

[Prev in Thread] Current Thread [Next in Thread]