mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
ext/ftp: Use zend_result type instead of int type
This commit is contained in:
parent
169573bcb5
commit
7fcdf1cfa2
2 changed files with 2 additions and 2 deletions
|
@ -651,7 +651,7 @@ char** ftp_mlsd(ftpbuf_t *ftp, const char *path, const size_t path_len)
|
|||
return ftp_genlist(ftp, "MLSD", sizeof("MLSD")-1, path, path_len);
|
||||
}
|
||||
|
||||
int ftp_mlsd_parse_line(HashTable *ht, const char *input)
|
||||
zend_result ftp_mlsd_parse_line(HashTable *ht, const char *input)
|
||||
{
|
||||
zval zstr;
|
||||
const char *end = input + strlen(input);
|
||||
|
|
|
@ -163,7 +163,7 @@ char** ftp_list(ftpbuf_t *ftp, const char *path, const size_t path_len, int recu
|
|||
/* populates a hashtable with the facts contained in one line of
|
||||
* an MLSD response.
|
||||
*/
|
||||
int ftp_mlsd_parse_line(HashTable *ht, const char *input);
|
||||
zend_result ftp_mlsd_parse_line(HashTable *ht, const char *input);
|
||||
|
||||
/* returns a NULL-terminated array of lines returned by the ftp
|
||||
* MLSD command for the given path or NULL on error. the return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue