From d52343a9673a55e0e11d35f904808c0007405fa4 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 10 Aug 2011 23:28:09 -0400 Subject: s3-messaging: Do not register to classes we are not going to use. Signed-off-by: Andreas Schneider Autobuild-User: Andreas Schneider Autobuild-Date: Thu Aug 11 17:09:30 CEST 2011 on sn-devel-104 --- source3/printing/queue_process.c | 4 ++-- source3/printing/spoolssd.c | 1 - source3/rpc_server/epmd.c | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/source3/printing/queue_process.c b/source3/printing/queue_process.c index fd4f3c7285..9039e5cd08 100644 --- a/source3/printing/queue_process.c +++ b/source3/printing/queue_process.c @@ -275,8 +275,8 @@ pid_t start_background_queue(struct tevent_context *ev, } if (!serverid_register(procid_self(), - FLAG_MSG_GENERAL|FLAG_MSG_SMBD - |FLAG_MSG_PRINT_GENERAL)) { + FLAG_MSG_GENERAL | + FLAG_MSG_PRINT_GENERAL)) { exit(1); } diff --git a/source3/printing/spoolssd.c b/source3/printing/spoolssd.c index 3d17602617..09ffc05caf 100644 --- a/source3/printing/spoolssd.c +++ b/source3/printing/spoolssd.c @@ -823,7 +823,6 @@ pid_t start_spoolssd(struct tevent_context *ev_ctx, if (!serverid_register(procid_self(), FLAG_MSG_GENERAL | - FLAG_MSG_SMBD | FLAG_MSG_PRINT_GENERAL)) { exit(1); } diff --git a/source3/rpc_server/epmd.c b/source3/rpc_server/epmd.c index d036b25bf7..8c7efb4747 100644 --- a/source3/rpc_server/epmd.c +++ b/source3/rpc_server/epmd.c @@ -177,8 +177,8 @@ void start_epmd(struct tevent_context *ev_ctx, epmd_setup_sig_hup_handler(ev_ctx, msg_ctx); ok = serverid_register(procid_self(), - FLAG_MSG_GENERAL|FLAG_MSG_SMBD - |FLAG_MSG_PRINT_GENERAL); + FLAG_MSG_GENERAL | + FLAG_MSG_PRINT_GENERAL); if (!ok) { DEBUG(0, ("Failed to register serverid in epmd!\n")); exit(1); -- cgit