fix : status wasn't taken into account

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11329 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2005-02-10 23:24:16 +00:00
parent 7139e38e41
commit 20776cc6cf

View File

@ -293,7 +293,7 @@ status_t _control_input_server_(BMessage *command, BMessage *reply)
if (err != B_OK) if (err != B_OK)
return err; return err;
if (reply->FindInt32("status", err) != B_OK) if (reply->FindInt32("status", &err) != B_OK)
return B_ERROR; return B_ERROR;
return err; return err;