diff --git a/src/servers/registrar/TRoster.cpp b/src/servers/registrar/TRoster.cpp index 7ad49f15d2..232eb0bebe 100644 --- a/src/servers/registrar/TRoster.cpp +++ b/src/servers/registrar/TRoster.cpp @@ -376,7 +376,7 @@ TRoster::HandleIsAppRegistered(BMessage *request) // check the parameters // entry_ref - if (error == B_OK & !BEntry(&ref).Exists()) + if (error == B_OK && !BEntry(&ref).Exists()) SET_ERROR(error, B_ENTRY_NOT_FOUND); // team/token if (error == B_OK && team < 0 && token == 0)