From 0cdc68332df6beaa47307f730fda793bf295ef96 Mon Sep 17 00:00:00 2001 From: Samba Release Account Date: Tue, 22 Jul 1997 18:35:44 +0000 Subject: Removed lp_killunused() call from server main loop. This WAS A MAJOR BUG THAT CAN CAUSE IPC$ to be removed !!!!! Not sure how this one got introduced (but I have my suspicions :-). lp_killunused() MUST ONLY BE CALLED from reload_services(). Jeremy (jallison@whistle.com) (This used to be commit 937f0fbf87c4b66a947215ee13a69d1e19e4ff77) --- source3/smbd/server.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source3/smbd') diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 5f5404bcc2..3c5cd6bea7 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -3948,9 +3948,6 @@ static void process(void) { service_load_counter = counter; - /* remove all unused services. reduce some of that memory overhead. */ - lp_killunused(snum_used); - /* reload services, if files have changed. */ reload_services(True); } -- cgit