This appears to be better?

This commit is contained in:
gibbed
2015-06-07 18:17:09 -05:00
parent ba88955be4
commit b9087e0698
4 changed files with 9 additions and 9 deletions

View File

@@ -30,7 +30,7 @@ X_RESULT XAppManager::DispatchMessageSync(uint32_t app_id, uint32_t message,
uint32_t buffer_length) {
const auto& it = app_lookup_.find(app_id);
if (it == app_lookup_.end()) {
return X_ERROR_NOT_FOUND;
return X_STATUS_UNSUCCESSFUL;
}
return it->second->DispatchMessageSync(message, buffer_ptr, buffer_length);
}