From 270f0f2f4abf61adf40c681124f21c797ebfe1f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 11 Jan 2016 21:10:25 +0100 Subject: [PATCH] launch_daemon: Don't get the token from the registrar. * It doesn't work, and BMessenger also only uses the preferred token. * I haven't investigated why it doesn't work yet, though. --- src/servers/launch/Job.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/servers/launch/Job.cpp b/src/servers/launch/Job.cpp index c5aec04832..a742518a9a 100644 --- a/src/servers/launch/Job.cpp +++ b/src/servers/launch/Job.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2015, Axel Dörfler, axeld@pinc-software.de. + * Copyright 2015-2016, Axel Dörfler, axeld@pinc-software.de. * Distributed under the terms of the MIT License. */ @@ -686,7 +686,7 @@ Job::_Launch(const char* signature, entry_ref* ref, int argCount, { thread_id mainThread = -1; status_t result = BRoster::Private().Launch(signature, ref, NULL, argCount, - args, environment, &fTeam, &mainThread, &fDefaultPort, &fToken, true); + args, environment, &fTeam, &mainThread, &fDefaultPort, NULL, true); if (result == B_OK) { result = _CreateAndTransferPorts();