diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-06-22 21:37:56 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-06-22 21:37:56 +0000 |
commit | 33de72866fb35a1730c1aaacb196a3de35218b7b (patch) | |
tree | be872fec260f09425d664d6c4f8d74217df61dac | |
parent | 1d0dfe7b6674a4ca44ed80d88ab2835db38186da (diff) |
(fshelp_fetch_root) [reauth]: If PORT is null, then just return it.
-rw-r--r-- | libfshelp/fetch-root.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |