From: Ilia Alshanetsky Date: Wed, 21 Aug 2002 03:59:27 +0000 (+0000) Subject: Fixed compile warning. X-Git-Tag: RELEASE_0_91~351 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a86b1fc2755498de9f985d577de753195a967ff5;p=php Fixed compile warning. --- 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; }