From 6718659e480ec4321a0e16f332a6619e17a2a639 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Mon, 19 Jul 2010 12:38:49 +0000 Subject: [PATCH] Fix warning. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37591 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/registrar/TRoster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/registrar/TRoster.cpp b/src/servers/registrar/TRoster.cpp index ad7594b586..c1425aeb0f 100644 --- a/src/servers/registrar/TRoster.cpp +++ b/src/servers/registrar/TRoster.cpp @@ -211,7 +211,7 @@ TRoster::HandleAddApplication(BMessage* request) RosterAppInfo* info = NULL; if ((launchFlags == B_SINGLE_LAUNCH || launchFlags == B_EXCLUSIVE_LAUNCH) - && ((info = info = fRegisteredApps.InfoFor(&ref)) != NULL + && ((info = fRegisteredApps.InfoFor(&ref)) != NULL || (info = fEarlyPreRegisteredApps.InfoFor(&ref)) != NULL)) { SET_ERROR(error, B_ALREADY_RUNNING); otherTeam = info->team;