hrev53304 adds 1 changeset to branch 'master'
old head: 1e8a3588cd421ed9cfbb5548fd377bd6d67422f3
new head: 359cf105940e3a7cf71b02f225203db0a77e6cac
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=359cf105940e+%5E1e8a3588cd42
----------------------------------------------------------------------------
359cf105940e: registar: Revert part of 6967695c4ea72a15e7c718e43e8daf515acf4a2a.
This broke the function, making all apps that wanted the list,
e.g. Deskbar, ProcessController, etc. simply not display teams.
[ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev53304
Commit: 359cf105940e3a7cf71b02f225203db0a77e6cac
URL: https://git.haiku-os.org/haiku/commit/?id=359cf105940e
Author: Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date: Sun Jul 28 02:21:04 2019 UTC
----------------------------------------------------------------------------
1 file changed, 2 insertions(+), 1 deletion(-)
src/servers/registrar/TRoster.cpp | 3 ++-
----------------------------------------------------------------------------
diff --git a/src/servers/registrar/TRoster.cpp
b/src/servers/registrar/TRoster.cpp
index 90034edb1b..d5a2cba4cb 100644
--- a/src/servers/registrar/TRoster.cpp
+++ b/src/servers/registrar/TRoster.cpp
@@ -731,7 +731,8 @@ TRoster::HandleGetAppList(BMessage* request)
status_t error = B_OK;
// get the parameters
const char* signature;
- error = request->FindString("signature", &signature);
+ if (request->FindString("signature", &signature) != B_OK)
+ signature = NULL;
// reply to the request
if (error == B_OK) {