mirror of
https://github.com/samba-team/samba.git
synced 2024-12-29 11:21:54 +03:00
r20876: Fix bug 4346 -- Thanks to YAMASAKI Hiroyuki
This commit is contained in:
parent
0596badb41
commit
a7a66eb4eb
@ -215,7 +215,7 @@ static uint32 get_share_type(const struct share_params *params)
|
||||
type = STYPE_PRINTQ;
|
||||
if (strequal(lp_fstype(params->service), "IPC"))
|
||||
type = STYPE_IPC;
|
||||
if (net_name[len_net_name] == '$')
|
||||
if (net_name[len_net_name-1] == '$')
|
||||
type |= STYPE_HIDDEN;
|
||||
|
||||
return type;
|
||||
|
Loading…
Reference in New Issue
Block a user