summaryrefslogtreecommitdiffstats
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-01-16 15:58:31 +1300
committerAndrew Bartlett <abartlet@samba.org>2014-02-12 13:17:14 +1300
commitf38b1dbbe5c68b25fe414d8cd57144bde8cb5704 (patch)
tree2e0faa1e193c23142e37a8bac6dde746de17b885 /source3/smbd/reply.c
parent8c22634559820fee9d2007816174263fafc41c6a (diff)
downloadsamba-f38b1dbbe5c68b25fe414d8cd57144bde8cb5704.tar.gz
samba-f38b1dbbe5c68b25fe414d8cd57144bde8cb5704.tar.xz
samba-f38b1dbbe5c68b25fe414d8cd57144bde8cb5704.zip
param: change fstype to use a constant string
Substitution isn't really necessary for this parameter. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 3d2750161f..6b56239f19 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -971,7 +971,7 @@ void reply_tcon_and_X(struct smb_request *req)
}
} else {
/* NT sets the fstype of IPC$ to the null string */
- const char *fstype = IS_IPC(conn) ? "" : lp_fstype(ctx, SNUM(conn));
+ const char *fstype = IS_IPC(conn) ? "" : lp_fstype(SNUM(conn));
if (tcon_flags & TCONX_FLAG_EXTENDED_RESPONSE) {
/* Return permissions. */