diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/process.c | 6 | ||||
-rw-r--r-- | source3/smbd/server.c | 4 |
2 files changed, 0 insertions, 10 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 9ed83ec88c..1599ade12d 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -994,12 +994,6 @@ machine %s in domain %s.\n", global_myname, global_myworkgroup )); process_pending_change_notify_queue(t); /* - * Ensure the print queue tdb doesn't grow too - * big by periodically scanning it. - */ - process_print_queue(t); - - /* * Now we are root, check if the log files need pruning. */ if(need_to_check_log_size()) diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 22a95fdd18..4442a1f71f 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -422,10 +422,6 @@ void exit_server(char *reason) respond_to_all_remaining_local_messages(); - /* Don't do this on every exit... */ - if (sys_random() % 10) - process_print_queue(time(NULL)); - #ifdef WITH_DFS if (dcelogin_atmost_once) { dfs_unlogin(); |