Changeset View
Changeset View
Standalone View
Standalone View
smb/kio_smb_browse.cpp
Show First 20 Lines • Show All 253 Lines • ▼ Show 20 Line(s) | 236 | #endif | |||
---|---|---|---|---|---|
254 | case ENOMEM: | 254 | case ENOMEM: | ||
255 | return SMBError{ ERR_OUT_OF_MEMORY, url.toDisplayString() }; | 255 | return SMBError{ ERR_OUT_OF_MEMORY, url.toDisplayString() }; | ||
256 | case ENODEV: | 256 | case ENODEV: | ||
257 | return SMBError{ ERR_SLAVE_DEFINED, i18n("Share could not be found on given server") }; | 257 | return SMBError{ ERR_SLAVE_DEFINED, i18n("Share could not be found on given server") }; | ||
258 | case EBADF: | 258 | case EBADF: | ||
259 | return SMBError{ ERR_INTERNAL, i18n("Bad file descriptor") }; | 259 | return SMBError{ ERR_INTERNAL, i18n("Bad file descriptor") }; | ||
260 | case ETIMEDOUT: | 260 | case ETIMEDOUT: | ||
261 | return SMBError{ ERR_SERVER_TIMEOUT, url.host() }; | 261 | return SMBError{ ERR_SERVER_TIMEOUT, url.host() }; | ||
262 | case ENOTEMPTY: | ||||
263 | return SMBError{ ERR_CANNOT_RMDIR, url.toDisplayString() }; | ||||
262 | #ifdef ENOTUNIQ | 264 | #ifdef ENOTUNIQ | ||
263 | case ENOTUNIQ: | 265 | case ENOTUNIQ: | ||
264 | return SMBError{ ERR_SLAVE_DEFINED, i18n("The given name could not be resolved to a unique server. " | 266 | return SMBError{ ERR_SLAVE_DEFINED, i18n("The given name could not be resolved to a unique server. " | ||
265 | "Make sure your network is setup without any name conflicts " | 267 | "Make sure your network is setup without any name conflicts " | ||
266 | "between names used by Windows and by UNIX name resolution." ) }; | 268 | "between names used by Windows and by UNIX name resolution." ) }; | ||
267 | #endif | 269 | #endif | ||
268 | case 0: // success | 270 | case 0: // success | ||
269 | return SMBError{ ERR_INTERNAL, i18n("libsmbclient reported an error, but did not specify " | 271 | return SMBError{ ERR_INTERNAL, i18n("libsmbclient reported an error, but did not specify " | ||
▲ Show 20 Lines • Show All 268 Lines • Show Last 20 Lines |