From 5988d5e92a123d7c1b509ecafe8d14db47c01b30 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 13 Nov 2002 13:47:12 +0000 Subject: Add a DEBUG() that gives the number of successfully loaded modules - useful for debugging (This used to be commit 612ea35ab016c56e6ad9886283901bc7b417337a) --- source3/lib/module.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3') diff --git a/source3/lib/module.c b/source3/lib/module.c index 2d8bd7459f..5ad6485806 100644 --- a/source3/lib/module.c +++ b/source3/lib/module.c @@ -66,6 +66,8 @@ int smb_load_modules(const char **modules) } } + DEBUG(2, ("%d modules successfully loaded\n", success)); + return success; } -- cgit