summaryrefslogtreecommitdiff
path: root/pflocal
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-07-16 02:51:31 +0000
committerMiles Bader <miles@gnu.org>1995-07-16 02:51:31 +0000
commit2e0655d888d79dd3c08e801cce2088cf599884f0 (patch)
tree62f061c9a570b7267a047f5f71cca969d86e305a /pflocal
parente63dfe40a3b8eaf68ce1975c884fb365f5ede846 (diff)
Formerly pf.c.~5~
Diffstat (limited to 'pflocal')
-rw-r--r--pflocal/pf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pflocal/pf.c b/pflocal/pf.c
index b77f557e..72e2b813 100644
--- a/pflocal/pf.c
+++ b/pflocal/pf.c
@@ -47,7 +47,8 @@ S_socket_create (mach_port_t pf,
err = sock_create (pipe_class, &sock);
if (!err)
err = sock_create_port (sock, port);
- *port_type = MACH_MSG_TYPE_MAKE_SEND;
+ if (!err)
+ *port_type = MACH_MSG_TYPE_MAKE_SEND;
return err;
}