Use of MDL macro vs passing file & line...

dhcp.50.CHRIS94561 at spamgourmet.com dhcp.50.CHRIS94561 at spamgourmet.com
Fri Jul 2 19:43:25 UTC 2004


On Thu, 1 Jul 2004, Ted Lemon  - mellon at fugue.com wrote:

> On Jul 1, 2004, at 5:49 PM, dhcp.50.CHRIS94561 at spamgourmet.com wrote:
> > Which is correct here? A or B? And why?
>
> You should use MDL.   The reason it's there is basically that it's
> quicker to type and takes up less space, and also that you can #define
> it out so that the strings don't consume extra space in the binary
> (although this is not a big deal).

Alright, then I'd point out than this policy isn't in consistent use in
the dhcp server code. I've seen both versions in several places.

Chris



More information about the dhcp-hackers mailing list