Skip to content

Commit 7fcdf1c

Browse files
committed
ext/ftp: Use zend_result type instead of int type
1 parent 169573b commit 7fcdf1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/ftp/ftp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ char** ftp_mlsd(ftpbuf_t *ftp, const char *path, const size_t path_len)
651651
return ftp_genlist(ftp, "MLSD", sizeof("MLSD")-1, path, path_len);
652652
}
653653

654-
int ftp_mlsd_parse_line(HashTable *ht, const char *input)
654+
zend_result ftp_mlsd_parse_line(HashTable *ht, const char *input)
655655
{
656656
zval zstr;
657657
const char *end = input + strlen(input);

ext/ftp/ftp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ char** ftp_list(ftpbuf_t *ftp, const char *path, const size_t path_len, int recu
163163
/* populates a hashtable with the facts contained in one line of
164164
* an MLSD response.
165165
*/
166-
int ftp_mlsd_parse_line(HashTable *ht, const char *input);
166+
zend_result ftp_mlsd_parse_line(HashTable *ht, const char *input);
167167

168168
/* returns a NULL-terminated array of lines returned by the ftp
169169
* MLSD command for the given path or NULL on error. the return

0 commit comments

Comments
 (0)