summaryrefslogtreecommitdiff
path: root/libports
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-01-27 17:21:59 +0000
committerMiles Bader <miles@gnu.org>1996-01-27 17:21:59 +0000
commitb71fa46e01b56001a167720f785b803f5d041ebd (patch)
treeaa24115cf1e0ef33a189913d18143f2b4743be2c /libports
parentb551d2683632d79183e39685d309d143dfcaa4a0 (diff)
(ports_manage_port_operations_one_thread):
Pass INP->msgh_id to ports_begin_rpc, and only call DEMUXER if it returns 0.
Diffstat (limited to 'libports')
-rw-r--r--libports/manage-one-thread.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libports/manage-one-thread.c b/libports/manage-one-thread.c
index 90f573ff..b3db18aa 100644
--- a/libports/manage-one-thread.c
+++ b/libports/manage-one-thread.c
@@ -1,6 +1,6 @@
/*
- Copyright (C) 1995 Free Software Foundation, Inc.
- Written by Michael I. Bushnell.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Writtenb by Michael I. Bushnell.
This file is part of the GNU Hurd.
@@ -39,7 +39,7 @@ ports_manage_port_operations_one_thread (struct port_bucket *bucket,
pi = ports_lookup_port (bucket, inp->msgh_local_port, 0);
if (pi)
{
- err = ports_begin_rpc (pi, &link);
+ err = ports_begin_rpc (pi, inp->msgh_id, &link);
if (err)
{
mach_port_deallocate (mach_task_self (), inp->msgh_remote_port);
@@ -66,5 +66,3 @@ ports_manage_port_operations_one_thread (struct port_bucket *bucket,
timeout ? MACH_RCV_TIMEOUT : 0, timeout);
while (err != MACH_RCV_TIMED_OUT);
}
-
-