diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-12 21:01:38 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-12 21:01:38 +0000 |
commit | 6b9fa320806ce8a734d865ebcb8052ba0e50c527 (patch) | |
tree | 29c22c36dd94eb3960fc6066ceac3a12bd1d3d46 /nest/proto.c | |
parent | 6a9f28b0b9254ba21c36126d6f10388815840001 (diff) |
Great cleanup of debug messages. LOCAL_DEBUG turned off in most modules,
several debug() calls converted to DBG().
Diffstat (limited to 'nest/proto.c')
-rw-r--r-- | nest/proto.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/nest/proto.c b/nest/proto.c index f137aa50..7243fcd5 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -6,7 +6,7 @@ * Can be freely distributed and used under the terms of the GNU GPL. */ -#define LOCAL_DEBUG +#undef LOCAL_DEBUG #include <string.h> @@ -157,15 +157,15 @@ protos_preconfig(struct config *c) struct protocol *p; init_list(&c->protos); - debug("Protocol preconfig:"); + DBG("Protocol preconfig:"); WALK_LIST(p, protocol_list) { - debug(" %s", p->name); + DBG(" %s", p->name); p->name_counter = 0; if (p->preconfig) p->preconfig(p, c); } - debug("\n"); + DBG("\n"); } void @@ -174,15 +174,15 @@ protos_postconfig(struct config *c) struct proto_config *x; struct protocol *p; - debug("Protocol postconfig:"); + DBG("Protocol postconfig:"); WALK_LIST(x, c->protos) { - debug(" %s", x->name); + DBG(" %s", x->name); p = x->protocol; if (p->postconfig) p->postconfig(x); } - debug("\n"); + DBG("\n"); } static struct proto * |