hrev50005 adds 1 changeset to branch 'master'
old head: 2a390953d3342fb4e6e04217c654675c9680e3e7
new head: 59b0036e71fa70bdd0fcf6ffe1f191fdb386ba64
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=59b0036e71fa+%5E2a390953d334
----------------------------------------------------------------------------
59b0036e71fa: Printers: Workaround for broken print server connection.
* The actual problem is that the launch_daemon does not notice the
manual launch of system services (because of the missing registrar
that provides that service).
* So not checking if the print server is running actually solves the
issue; otherwise the launch_daemon starts its own server, that will
then get shut down, as there already is a print server (the one
launched by the Printers preferences).
* Closes ticket #12531.
[ Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev50005
Commit: 59b0036e71fa70bdd0fcf6ffe1f191fdb386ba64
URL: http://cgit.haiku-os.org/haiku/commit/?id=59b0036e71fa
Author: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
Date: Thu Jan 7 20:05:51 2016 UTC
Ticket: https://dev.haiku-os.org/ticket/12531
----------------------------------------------------------------------------
1 file changed, 1 insertion(+), 5 deletions(-)
src/preferences/printers/Globals.cpp | 6 +-----
----------------------------------------------------------------------------
diff --git a/src/preferences/printers/Globals.cpp
b/src/preferences/printers/Globals.cpp
index ebc14dd..99af7a7 100644
--- a/src/preferences/printers/Globals.cpp
+++ b/src/preferences/printers/Globals.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright 2001-2010, Haiku.
+ * Copyright 2001-2016, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
@@ -39,10 +39,6 @@ ActivePrinterName()
status_t
GetPrinterServerMessenger(BMessenger& msgr)
{
- // If print server is not yet running, start it
- if (!be_roster->IsRunning(PSRV_SIGNATURE_TYPE))
- be_roster->Launch(PSRV_SIGNATURE_TYPE);
-
msgr = BMessenger(PSRV_SIGNATURE_TYPE);
return msgr.IsValid() ? B_OK : B_ERROR;
}