* I misunderstood the previous of adding fPath.Path() to the message. It was

meant to be able to tell which monitor the message came from. So I added it
  back in. Since I used "path" already for the entry, I renamed the field to
  "watched_path". No code was using it yet, so this should be ok and the
  purpose more clear anyways.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26945 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2008-08-12 14:49:30 +00:00
parent 2bf5ba0562
commit 8a0be4edeb

View File

@ -644,6 +644,10 @@ PathHandler::_NotifyTarget(BMessage* message, const node_ref& nodeRef) const
}
}
// This is in case the target is interested in figuring out which
// BPathMonitor::StartWatching() call the message is resulting from.
update.AddString("watched_path", fPath.Path());
fTarget.SendMessage(&update);
}