diff options
author | Tim Potter <tpot@samba.org> | 2003-04-07 06:13:36 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-04-07 06:13:36 +0000 |
commit | 25b1c37f6f67570dcfaff6081a74114d172dde1b (patch) | |
tree | 63fda30a603d9de9419dabb814be9ddc38c08ee8 /source3/nsswitch | |
parent | 7ba4758b41ddd6cd17f85b32aa7de6dfd77147ca (diff) | |
download | samba-25b1c37f6f67570dcfaff6081a74114d172dde1b.tar.gz samba-25b1c37f6f67570dcfaff6081a74114d172dde1b.tar.bz2 samba-25b1c37f6f67570dcfaff6081a74114d172dde1b.zip |
Remove duplicate "tallocdump" message from tdb messaging system. The
same functionality exists as "pool-usage".
Move initialisation of this and dmalloc messages inside message_init().
(This used to be commit af6ecafcbbf65dbedc49b3a86da39ce608bdadac)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c index cd72a4f572..5cdddb6222 100644 --- a/source3/nsswitch/winbindd.c +++ b/source3/nsswitch/winbindd.c @@ -52,25 +52,6 @@ static BOOL reload_services_file(BOOL test) return(ret); } -/******************************************************************* - Print out all talloc memory info. -********************************************************************/ - -void return_all_talloc_info(int msg_type, pid_t src_pid, void *buf, size_t len) -{ - TALLOC_CTX *ctx = talloc_init("info context"); - char *info = NULL; - - if (!ctx) - return; - - info = talloc_describe_all(ctx); - if (info) - DEBUG(10,(info)); - message_send_pid(src_pid, MSG_TALLOC_USAGE, info, info ? strlen(info) + 1: 0, True); - talloc_destroy(ctx); -} - #if DUMP_CORE /**************************************************************************** ** @@ -916,14 +897,12 @@ int main(int argc, char **argv) } poptFreeContext(pc); - register_msg_pool_usage(); - message_register(MSG_REQ_TALLOC_USAGE, return_all_talloc_info); - /* Loop waiting for requests */ process_loop(); trustdom_cache_shutdown(); uni_group_cache_shutdown(); + return 0; } |