MFC rev. 1.147

Fix incorrect constant used in rev. 1.146 that broke node writer locking.
This commit is contained in:
mav 2008-02-26 12:40:06 +00:00
parent 46cc761e2e
commit 86c1681769

View File

@ -2236,7 +2236,7 @@ ng_snd_item(item_p item, int flags)
* writer semantics. Similarly, the node may say one hook always
* produces writers. These are overrides.
*/
if (((item->el_flags & NGQF_RW) == NGQRW_W) ||
if (((item->el_flags & NGQF_RW) == NGQF_WRITER) ||
(node->nd_flags & NGF_FORCE_WRITER) ||
(hook && (hook->hk_flags & HK_FORCE_WRITER))) {
rw = NGQRW_W;