Loading lib/ftp.c +3 −4 Original line number Diff line number Diff line Loading @@ -792,7 +792,7 @@ CURLcode _ftp(struct connectdata *conn) int alen, plen; char portmsgbuf[4096], tmp[4096]; char *mode[] = { "EPRT", "LPRT", "PORT", NULL }; const char *mode[] = { "EPRT", "LPRT", "PORT", NULL }; char **modep; /* Loading Loading @@ -850,7 +850,7 @@ CURLcode _ftp(struct connectdata *conn) return CURLE_FTP_PORT_FAILED; } for (modep = mode; modep && *modep; modep++) { for (modep = (char *)mode; modep && *modep; modep++) { int lprtaf, eprtaf; switch (sa->sa_family) { Loading Loading @@ -938,7 +938,6 @@ CURLcode _ftp(struct connectdata *conn) continue; } else break; again:; } if (!*modep) { Loading Loading
lib/ftp.c +3 −4 Original line number Diff line number Diff line Loading @@ -792,7 +792,7 @@ CURLcode _ftp(struct connectdata *conn) int alen, plen; char portmsgbuf[4096], tmp[4096]; char *mode[] = { "EPRT", "LPRT", "PORT", NULL }; const char *mode[] = { "EPRT", "LPRT", "PORT", NULL }; char **modep; /* Loading Loading @@ -850,7 +850,7 @@ CURLcode _ftp(struct connectdata *conn) return CURLE_FTP_PORT_FAILED; } for (modep = mode; modep && *modep; modep++) { for (modep = (char *)mode; modep && *modep; modep++) { int lprtaf, eprtaf; switch (sa->sa_family) { Loading Loading @@ -938,7 +938,6 @@ CURLcode _ftp(struct connectdata *conn) continue; } else break; again:; } if (!*modep) { Loading