mirror of
https://github.com/transmission/transmission
synced 2025-02-03 13:03:50 +00:00
(trunk) fix accidentally-swapped switch cases
This commit is contained in:
parent
d2ddd4cb4e
commit
ab57bfb2d2
1 changed files with 2 additions and 2 deletions
|
@ -455,9 +455,9 @@ tr_ioErrorFromErrno( void )
|
||||||
case ENOSPC:
|
case ENOSPC:
|
||||||
return TR_ERROR_IO_SPACE;
|
return TR_ERROR_IO_SPACE;
|
||||||
case EMFILE:
|
case EMFILE:
|
||||||
return TR_ERROR_IO_FILE_TOO_BIG;
|
|
||||||
case EFBIG:
|
|
||||||
return TR_ERROR_IO_OPEN_FILES;
|
return TR_ERROR_IO_OPEN_FILES;
|
||||||
|
case EFBIG:
|
||||||
|
return TR_ERROR_IO_FILE_TOO_BIG;
|
||||||
default:
|
default:
|
||||||
tr_dbg( "generic i/o errno from errno: %s", strerror( errno ) );
|
tr_dbg( "generic i/o errno from errno: %s", strerror( errno ) );
|
||||||
return TR_ERROR_IO_OTHER;
|
return TR_ERROR_IO_OTHER;
|
||||||
|
|
Loading…
Reference in a new issue