Changeset View
Changeset View
Standalone View
Standalone View
smb/kio_smb_browse.cpp
Show First 20 Lines • Show All 291 Lines • ▼ Show 20 Line(s) | 266 | #endif | |||
---|---|---|---|---|---|
292 | case ENOTEMPTY: | 292 | case ENOTEMPTY: | ||
293 | return SMBError{ ERR_CANNOT_RMDIR, url.toDisplayString() }; | 293 | return SMBError{ ERR_CANNOT_RMDIR, url.toDisplayString() }; | ||
294 | #ifdef ENOTUNIQ | 294 | #ifdef ENOTUNIQ | ||
295 | case ENOTUNIQ: | 295 | case ENOTUNIQ: | ||
296 | return SMBError{ ERR_SLAVE_DEFINED, i18n("The given name could not be resolved to a unique server. " | 296 | return SMBError{ ERR_SLAVE_DEFINED, i18n("The given name could not be resolved to a unique server. " | ||
297 | "Make sure your network is setup without any name conflicts " | 297 | "Make sure your network is setup without any name conflicts " | ||
298 | "between names used by Windows and by UNIX name resolution." ) }; | 298 | "between names used by Windows and by UNIX name resolution." ) }; | ||
299 | #endif | 299 | #endif | ||
300 | case ECONNABORTED: | ||||
301 | return SMBError{ ERR_CONNECTION_BROKEN, url.host() }; | ||||
300 | case 0: // success | 302 | case 0: // success | ||
301 | return SMBError{ ERR_INTERNAL, i18n("libsmbclient reported an error, but did not specify " | 303 | return SMBError{ ERR_INTERNAL, i18n("libsmbclient reported an error, but did not specify " | ||
302 | "what the problem is. This might indicate a severe problem " | 304 | "what the problem is. This might indicate a severe problem " | ||
303 | "with your network - but also might indicate a problem with " | 305 | "with your network - but also might indicate a problem with " | ||
304 | "libsmbclient.\n" | 306 | "libsmbclient.\n" | ||
305 | "If you want to help us, please provide a tcpdump of the " | 307 | "If you want to help us, please provide a tcpdump of the " | ||
306 | "network interface while you try to browse (be aware that " | 308 | "network interface while you try to browse (be aware that " | ||
307 | "it might contain private data, so do not post it if you are " | 309 | "it might contain private data, so do not post it if you are " | ||
▲ Show 20 Lines • Show All 387 Lines • Show Last 20 Lines |