summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2002-08-21 03:59:27 +0000
committerIlia Alshanetsky <iliaa@php.net>2002-08-21 03:59:27 +0000
commita86b1fc2755498de9f985d577de753195a967ff5 (patch)
tree16f924435c91cd23027ee3182f13e55b8db92601
parentd3d12daec4ad104e1da13911a574a1d41b9655e2 (diff)
downloadphp-git-a86b1fc2755498de9f985d577de753195a967ff5.tar.gz
Fixed compile warning.
-rw-r--r--ext/ftp/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c
index dcff657bde..32c3cf0e79 100644
--- a/ext/ftp/ftp.c
+++ b/ext/ftp/ftp.c
@@ -1443,7 +1443,7 @@ ftp_async_continue_read(ftpbuf_t *ftp)
type = ftp->type;
lastch = ftp->lastch;
- if (rcvd = my_recv(ftp, data->fd, data->buf, FTP_BUFSIZE)) {
+ if ((rcvd = my_recv(ftp, data->fd, data->buf, FTP_BUFSIZE))) {
if (rcvd == -1) {
goto bail;
}