* Nick Kew wrote:

> On Mon, 31 Mar 2008 22:24:50 +0200
>
> Ruediger Pluem <[EMAIL PROTECTED]> wrote:

> > >  #define CREATE_NODE(pool,name) do {                          \
> > > -    (name) = apr_palloc(pool, sizeof(*(name)));      \
> > > -    (name)->parent = (name)->left = (name)->right = NULL; \
> > > -    (name)->done = 0;                                     \
> > > -    (name)->dump_done = 0;
> >
> > Why removing this initializations?
> >
> >                               \
> >
> > > +    (name) = apr_pcalloc(pool, sizeof(*(name)));
>
> apr_pcalloc is a more concise equivalent:-)

Really? Maybe I'm too theoretical here, but what happens if NULL != (int)0?

nd
-- 
>kann mir jemand sagen, was genau @-Domains sind?
Ein Mythos. Ein Werbetrick. Verarsche. Nenn es wie du willst...

                 -- Alexandra Buss und Björn Höhrmann in dciwam

Reply via email to