If a debug class was explicitly set to zero the debug system would not
commit391e7caf76cbc22021629ef0ec5e0c32806edfd7
authorTim Potter <tpot@samba.org>
Fri, 1 Jun 2001 12:04:44 +0000 (1 12:04 +0000)
committerTim Potter <tpot@samba.org>
Fri, 1 Jun 2001 12:04:44 +0000 (1 12:04 +0000)
tree3efe43847987eabef0c0fbab8a755d4c5a2d83a4
parent81b3af71d5c9ccd20d7e7303becc35bff30c39b4
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.
source/include/debug.h
source/lib/debug.c
source/utils/smbcontrol.c