summaryrefslogtreecommitdiff
path: root/nsmux.c
diff options
context:
space:
mode:
Diffstat (limited to 'nsmux.c')
-rw-r--r--nsmux.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nsmux.c b/nsmux.c
index d2da05086..3f222d2ee 100644
--- a/nsmux.c
+++ b/nsmux.c
@@ -908,6 +908,7 @@ error_t
/*`np` is a proxy node of the lower translator. We
have to create a shadow node explicitly. */
+
error = node_get_send_port (diruser, np, flags, &file);
if (error)
goto out;
@@ -928,6 +929,9 @@ error_t
if (!error && !excl)
{
+ /*We've just created a shadow node. */
+ np->nn->type = NODE_TYPE_SHADOW;
+
/*If there is at least one more separator in the
filename, we will have to do a retry */
nextsep = magic_find_sep(sep);