error message on NAMEDB_MAGIC inconsistency
kohi at bbtower.co.jp
Tue Jan 11 06:26:32 UTC 2005
At Fri, 7 Jan 2005 09:57:03 +0100,
Miek Gieben wrote:
> yes, you're right, but I don't see a quick fix.
> namedb_open() returns NULL on error, so there is currently no
> difference between a database error or a 'file not found' error.
> Maybe dropping the whole log_msg() from server.c would be an idea,
> and leave the error reporting in namedb_open().
Fixing it makes NSD to be more friendly with new-comer, I
Changing the message as "NAMEDB_MAGIC in nsd.db is older" or
something rather than just "corrupted database" must better.
More information about the nsd-users