If a debug class was explicitly set to zero the debug system would not
authorTim Potter <tpot@samba.org>
Fri, 1 Jun 2001 12:04:44 +0000 (12:04 +0000)
committerTim Potter <tpot@samba.org>
Fri, 1 Jun 2001 12:04:44 +0000 (12:04 +0000)
commit6dce5c47c62d6ad3d74489bde3824fbfb02d8616
tree88e3cb5f75994eea6dce71b6c3eec20b4961dd78
parent62ce28e8d5f414d1728ec9e592f13dbccec10bad
If a debug class was explicitly set to zero the debug system would not
recognise it as there was no distinction made between zeroing a debug
class and just not setting it to anything.  I've added a
debuglevel_isset array in parallel with the debuglevel_class array to
fix this.

Added a couple of new debug classes which I might start filling out
to get smb, rpc header and rpc marshall/unmarshalling debugs tidied
up.

Fixed a bunch of cut&paste bugs in include/debug.h

Modified smbcontrol and the messaging system debug handler to like the
debuglevel_isset stuff.
(This used to be commit 391e7caf76cbc22021629ef0ec5e0c32806edfd7)
source3/include/debug.h
source3/lib/debug.c
source3/utils/smbcontrol.c