diff options
-rw-r--r-- | source3/smbd/reply.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index d39b9a20d3..8cccd9b568 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -1753,7 +1753,7 @@ NTSTATUS unlink_internals(connection_struct *conn, int dirtype, char *name) */ if (!rc && mangle_is_mangled(mask,SNUM(conn))) - mangle_check_cache( mask, sizeof(pstring)-1 ); + mangle_check_cache( mask, sizeof(pstring)-1, SNUM(conn)); if (!has_wild) { pstrcat(directory,"/"); @@ -4055,7 +4055,7 @@ NTSTATUS rename_internals(connection_struct *conn, char *name, char *newname, ui */ if (!rc && mangle_is_mangled(mask,SNUM(conn))) - mangle_check_cache( mask, sizeof(pstring)-1 ); + mangle_check_cache( mask, sizeof(pstring)-1, SNUM(conn)); has_wild = ms_has_wild(mask); @@ -4536,7 +4536,7 @@ int reply_copy(connection_struct *conn, char *inbuf,char *outbuf, int dum_size, */ if (!rc && mangle_is_mangled(mask, SNUM(conn))) - mangle_check_cache( mask, sizeof(pstring)-1 ); + mangle_check_cache( mask, sizeof(pstring)-1, SNUM(conn)); has_wild = ms_has_wild(mask); |