s3-messaging: Do not register to classes we are not going to use.
authorSimo Sorce <idra@samba.org>
Thu, 11 Aug 2011 03:28:09 +0000 (23:28 -0400)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 11 Aug 2011 15:09:30 +0000 (17:09 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Aug 11 17:09:30 CEST 2011 on sn-devel-104

source3/printing/queue_process.c
source3/printing/spoolssd.c
source3/rpc_server/epmd.c

index fd4f3c72850f36f802db822bda58d7e8f2285c4f..9039e5cd08b3b58460dd304eeeea48857ab3137f 100644 (file)
@@ -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);
                }
 
index 3d176026174c1090b6cc11773630a011007d4681..09ffc05caf1edcbf8c1d4858e362e3f0bb468b94 100644 (file)
@@ -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);
        }
index d036b25bf73367be98993398ea2839ea25de46dd..8c7efb4747e6fd5226b1fc7d993f38e2e9306b4c 100644 (file)
@@ -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);