Hello, Dynamic memory allocation would be cleaner. No need to have 'magic numbers' hardcoded. In my greylist.conf there are 5477 subscriber at this moment, with average address length 21 characters, max address length 43 chars. Memory utilization would be better even counting the extra pointer spaces since today I have to hardcode higher value (127) to be on the safe side. Bests, Attila PS: I am still running in "test mode" in production. Did we arrived to a conclusion on better naming? -----Original Message----- From: manu@... [mailto:manu@...] Sent: mercredi, 8. septembre 2004 00:27 To: milter-greylist@yahoogroups.com Subject: Re: [milter-greylist] cutting off sender-string jothev <jothev@...> wrote: > I'm a newbie here, but looking at the code it appears > that the printf statements (when dumping to > greylist.db) use a hardcoded "%32s", so you probably > should bump that also? I'm not sure whether the > import/reread code has similar issues. True, you need to bump this as well, else the dump reload won't work as expected. -- Emmanuel Dreyfus Il y a 10 sortes de personnes dans le monde: ceux qui comprennent le binaire et ceux qui ne le comprennent pas. manu@... Yahoo! Groups Links
Message
RE: [milter-greylist] cutting off sender-string
2004-09-08 by attila.bruncsak@itu.int
Attachments
- No local attachments were found for this message.