should have been cur, dunno how it built before ...

fixed bug #661


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17841 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2006-06-14 19:36:10 +00:00
parent a6c9722d73
commit 3a59f3e4af

View File

@ -185,7 +185,7 @@ BHandler::MessageReceived(BMessage *message)
status_t err = message->GetCurrentSpecifier(&cur, &specifier, &form, &prop);
bool known = false;
if (index < 0 || (strcmp(prop, "Messenger") == 0)) {
if (cur < 0 || (strcmp(prop, "Messenger") == 0)) {
err = reply.AddMessenger("result", this);
known = true;
} else if (strcmp(prop, "Suites") == 0) {