summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}