Skip to content

Commit 013605e

Browse files
committed
CS
1 parent 1e4ac3a commit 013605e

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

php5/php_zip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ static int php_zip_extract_file(struct zip * za, char *dest, const char *file, i
173173
size_t path_cleaned_len;
174174
cwd_state new_state;
175175

176-
if (idx <0) {
176+
if (idx < 0) {
177177
idx = zip_name_locate(za, file, 0);
178178
if (idx < 0) {
179179
return 0;

php7/php_zip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ static int php_zip_extract_file(struct zip * za, char *dest, const char *file, s
155155
cwd_state new_state;
156156
zend_string *file_basename;
157157

158-
if (idx <0) {
158+
if (idx < 0) {
159159
idx = zip_name_locate(za, file, 0);
160160
if (idx < 0) {
161161
return 0;

php73/php_zip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ static int php_zip_extract_file(struct zip * za, char *dest, const char *file, s
155155
cwd_state new_state;
156156
zend_string *file_basename;
157157

158-
if (idx <0) {
158+
if (idx < 0) {
159159
idx = zip_name_locate(za, file, 0);
160160
if (idx < 0) {
161161
return 0;

php74/php_zip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ static int php_zip_extract_file(struct zip * za, char *dest, const char *file, s
151151
cwd_state new_state;
152152
zend_string *file_basename;
153153

154-
if (idx <0) {
154+
if (idx < 0) {
155155
idx = zip_name_locate(za, file, 0);
156156
if (idx < 0) {
157157
return 0;

php8/php_zip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ static int php_zip_extract_file(struct zip * za, char *dest, const char *file, s
139139
cwd_state new_state;
140140
zend_string *file_basename;
141141

142-
if (idx <0) {
142+
if (idx < 0) {
143143
idx = zip_name_locate(za, file, 0);
144144
if (idx < 0) {
145145
return 0;

php81/php_zip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ static int php_zip_extract_file(struct zip * za, char *dest, const char *file, s
144144
cwd_state new_state;
145145
zend_string *file_basename;
146146

147-
if (idx <0) {
147+
if (idx < 0) {
148148
idx = zip_name_locate(za, file, 0);
149149
if (idx < 0) {
150150
return 0;

0 commit comments

Comments
 (0)