[Pdns-dev] Re: [patch] Zone2ldap fix + feature

bert hubert ahu at ds9a.nl
Tue Dec 30 19:38:05 CET 2003


On Tue, Dec 30, 2003 at 06:59:50PM +0100, Norbert Sendetzky wrote:
Content-Description: clearsigned data

> zone2ldap segfaults in callback_tree() in while( --j && j !=
> subparts.end() ). The diff attached fixes this and adds the ablility

Norbert,

-       while( --j != subparts.begin() )
+       while( j-- && j != subparts.begin() )

I changed this before, 'j--' is not a boolean and you cannot mention it on
its own, it needs to be compared to something.

This won't compile on my compiler. Do you know why it crashed currently?

Thanks.

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO


More information about the Pdns-dev mailing list