com php-src: Remove senseless check here: ext/ftp/ftp.c
| From: | Rasmus Lerdorf | Date: | Sun, 20 Oct 2013 03:55:02 +0000 |
| Subject: | com php-src: Remove senseless check here: ext/ftp/ftp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73735@lists.php.net to get a copy of this message | ||
Commit: fb38fdc7fd97f1e057b8c9d9102ce8a39b430f81
Author: Rasmus Lerdorf <rasmus@lerdorf.com> Sat, 19 Oct 2013 20:55:02 -0700
Parents: a1daebefda6b481450e3b9ec7461609a09e4f578
Branches: PHP-5.4 PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fb38fdc7fd97f1e057b8c9d9102ce8a39b430f81
Log:
Remove senseless check here
Changed paths:
M ext/ftp/ftp.c
Diff:
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c
index 0d6704f..58d3c2e 100644
--- a/ext/ftp/ftp.c
+++ b/ext/ftp/ftp.c
@@ -630,7 +630,7 @@ ftp_alloc(ftpbuf_t *ftp, const long size, char **response)
return 0;
}
- if (response && ftp->inbuf) {
+ if (response) {
*response = estrdup(ftp->inbuf);
}