1
0
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:
Volker Lendecke 2007-01-18 11:31:38 +00:00 committed by Gerald (Jerry) Carter
parent 0596badb41
commit a7a66eb4eb

View File

@ -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;