summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2011-08-10 23:28:09 -0400
committerAndreas Schneider <asn@cryptomilk.org>2011-08-11 17:09:30 +0200
commitd52343a9673a55e0e11d35f904808c0007405fa4 (patch)
tree45ab084ecc9563a9c876b4c8afe4bfd1e58048e1 /source3/printing
parent9f12575712fc2d5fb44558562f482cd8459140e8 (diff)
downloadsamba-d52343a9673a55e0e11d35f904808c0007405fa4.tar.gz
samba-d52343a9673a55e0e11d35f904808c0007405fa4.tar.bz2
samba-d52343a9673a55e0e11d35f904808c0007405fa4.zip
s3-messaging: Do not register to classes we are not going to use.
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
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/queue_process.c4
-rw-r--r--source3/printing/spoolssd.c1
2 files changed, 2 insertions, 3 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);
}