diff options
Diffstat (limited to 'hurd/intr-msg.c')
-rw-r--r-- | hurd/intr-msg.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/hurd/intr-msg.c b/hurd/intr-msg.c index 424c1fc..f9bf5c1 100644 --- a/hurd/intr-msg.c +++ b/hurd/intr-msg.c @@ -1,5 +1,5 @@ /* Replacement for mach_msg used in interruptible Hurd RPCs. - Copyright (C) 1995-2024 Free Software Foundation, Inc. + Copyright (C) 1995-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -183,9 +183,12 @@ _hurd_intr_rpc_mach_msg (mach_msg_header_t *msg, switch (name) { case MACH_MSG_TYPE_MOVE_SEND: - mach_port_t *ports = (mach_port_t *) data; - for (i = 0; i < number; i++) - __mach_port_deallocate (__mach_task_self (), *ports++); + { + mach_port_t *ports = (mach_port_t *) data; + for (i = 0; i < number; i++) + __mach_port_deallocate (__mach_task_self (), + *ports++); + } if (ty->msgtl_header.msgt_longform) ty->msgtl_name = MACH_MSG_TYPE_COPY_SEND; else |