]> granicus.if.org Git - php/commitdiff
Remove senseless check here
authorRasmus Lerdorf <rasmus@lerdorf.com>
Sun, 20 Oct 2013 03:55:02 +0000 (20:55 -0700)
committerRasmus Lerdorf <rasmus@lerdorf.com>
Sun, 20 Oct 2013 03:55:02 +0000 (20:55 -0700)
ext/ftp/ftp.c

index 0d6704f9d21a05c56567e29f6e479aedbba82e7d..58d3c2ec4d2844f37062801bd942c28512fc4416 100644 (file)
@@ -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);
        }