Skip to content

Commit 41ad4c4

Browse files
authored
Merge branch 'php:master' into ssh2_session_set_timeout
2 parents 1d48ae5 + 5906d41 commit 41ad4c4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ssh2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1687,7 +1687,7 @@ zend_function_entry ssh2_functions[] = {
16871687

16881688
PHP_FE(ssh2_auth_agent, arginfo_ssh2_auth_agent)
16891689

1690-
{NULL, NULL, NULL}
1690+
PHP_FE_END
16911691
};
16921692
/* }}} */
16931693

ssh2_sftp.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ static int php_ssh2_sftp_stream_seek(php_stream *stream, zend_off_t offset, int
179179
return -1;
180180
}
181181
offset += attrs.filesize;
182+
break;
182183
}
183184
case SEEK_CUR:
184185
{
@@ -189,6 +190,7 @@ static int php_ssh2_sftp_stream_seek(php_stream *stream, zend_off_t offset, int
189190
}
190191

191192
offset += current_offset;
193+
break;
192194
}
193195
}
194196

0 commit comments

Comments
 (0)