diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-01-16 15:58:31 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-02-12 13:17:14 +1300 |
commit | f38b1dbbe5c68b25fe414d8cd57144bde8cb5704 (patch) | |
tree | 2e0faa1e193c23142e37a8bac6dde746de17b885 /source3/smbd/lanman.c | |
parent | 8c22634559820fee9d2007816174263fafc41c6a (diff) | |
download | samba-f38b1dbbe5c68b25fe414d8cd57144bde8cb5704.tar.gz |
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/lanman.c')
-rw-r--r-- | source3/smbd/lanman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index 9ff250f5c0f..f7f77534ee4 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -1948,7 +1948,7 @@ static int fill_share_info(connection_struct *conn, int snum, int uLevel, if (lp_printable(snum)) { type = STYPE_PRINTQ; } - if (strequal("IPC",lp_fstype(talloc_tos(),snum))) { + if (strequal("IPC",lp_fstype(snum))) { type = STYPE_IPC; } SSVAL(p,14,type); /* device type */ |