mirror of
https://github.com/php/pecl-networking-ssh2.git
synced 2026-03-23 22:52:06 +01:00
ssh2_sftp: remove implicit switch-case fallthrough in stream_seek
This commit is contained in:
@@ -179,6 +179,7 @@ static int php_ssh2_sftp_stream_seek(php_stream *stream, zend_off_t offset, int
|
||||
return -1;
|
||||
}
|
||||
offset += attrs.filesize;
|
||||
break;
|
||||
}
|
||||
case SEEK_CUR:
|
||||
{
|
||||
@@ -189,6 +190,7 @@ static int php_ssh2_sftp_stream_seek(php_stream *stream, zend_off_t offset, int
|
||||
}
|
||||
|
||||
offset += current_offset;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user