From 33de72866fb35a1730c1aaacb196a3de35218b7b Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 22 Jun 1995 21:37:56 +0000 Subject: (fshelp_fetch_root) [reauth]: If PORT is null, then just return it. --- libfshelp/fetch-root.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libfshelp/fetch-root.c') diff --git a/libfshelp/fetch-root.c b/libfshelp/fetch-root.c index 7d9761fd..7686b77d 100644 --- a/libfshelp/fetch-root.c +++ b/libfshelp/fetch-root.c @@ -59,6 +59,9 @@ fshelp_fetch_root (struct transbox *box, void *cookie, mach_port_t rend, ret; error_t err; + if (port == MACH_PORT_NULL) + return port; + rend = mach_reply_port (); err = io_reauthenticate (port, rend, MACH_MSG_TYPE_MAKE_SEND); -- cgit v1.2.3