Changeset View
Changeset View
Standalone View
Standalone View
smb/kio_smb_browse.cpp
Show First 20 Lines • Show All 129 Lines • ▼ Show 20 Line(s) | 103 | { | |||
---|---|---|---|---|---|
130 | case SMBURLTYPE_WORKGROUP_OR_SERVER: | 130 | case SMBURLTYPE_WORKGROUP_OR_SERVER: | ||
131 | udsentry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFDIR); | 131 | udsentry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFDIR); | ||
132 | break; | 132 | break; | ||
133 | 133 | | |||
134 | case SMBURLTYPE_SHARE_OR_PATH: | 134 | case SMBURLTYPE_SHARE_OR_PATH: | ||
135 | { | 135 | { | ||
136 | int ret = browse_stat_path(m_current_url, udsentry); | 136 | int ret = browse_stat_path(m_current_url, udsentry); | ||
137 | 137 | | |||
138 | if (ret == EPERM || ret == EACCES) | 138 | if (ret == EPERM || ret == EACCES || workaroundEEXIST(ret)) | ||
139 | { | 139 | { | ||
140 | SMBUrl smbUrl(url); | 140 | SMBUrl smbUrl(url); | ||
141 | 141 | | |||
142 | if (checkPassword(smbUrl)) | 142 | if (checkPassword(smbUrl)) | ||
143 | { | 143 | { | ||
144 | redirection(smbUrl); | 144 | redirection(smbUrl); | ||
145 | finished(); | 145 | finished(); | ||
146 | } | 146 | } | ||
▲ Show 20 Lines • Show All 383 Lines • Show Last 20 Lines |