Fix Haiku build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23402 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ae1c9ba207
commit
220adf9a93
@ -60,7 +60,7 @@ LoginApp::TryLogin(BMessage *message)
|
||||
err = ValidateLogin(login, password);
|
||||
if (err == B_OK) {
|
||||
reply.AddInt32("error", B_OK);
|
||||
message->SendReply(reply, NULL);
|
||||
message->SendReply(&reply);
|
||||
|
||||
if (password == NULL)
|
||||
return;
|
||||
@ -70,13 +70,13 @@ LoginApp::TryLogin(BMessage *message)
|
||||
StartUserSession(login);
|
||||
} else {
|
||||
reply.AddInt32("error", err);
|
||||
message->SendReply(reply, NULL);
|
||||
message->SendReply(&reply);
|
||||
return;
|
||||
}
|
||||
|
||||
} else {
|
||||
reply.AddInt32("error", EINVAL);
|
||||
message->SendReply(reply, NULL);
|
||||
message->SendReply(&reply);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user