int alen, plen;
char portmsgbuf[4096], tmp[4096];
- char *mode[] = { "EPRT", "LPRT", "PORT", NULL };
+ const char *mode[] = { "EPRT", "LPRT", "PORT", NULL };
char **modep;
/*
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) {
failf(data, "Server does not grok %s", *modep);
continue;
} else
- break;
-again:;
+ break;
}
if (!*modep) {