return result;
}
-static const char *ftpauth[]= {
- "SSL", "TLS", NULL
-};
-
/*
* Curl_ftp_connect() should do everything that is to be considered a part of
* the connection phase.
struct FTP *ftp;
CURLcode result;
int ftpcode, trynum;
+ static const char * const ftpauth[] = {
+ "SSL", "TLS", NULL
+ };
ftp = (struct FTP *)malloc(sizeof(struct FTP));
if(!ftp)
return (enum protection_level)-1;
}
-static const struct Curl_sec_client_mech *mechs[] = {
+static const struct Curl_sec_client_mech * const mechs[] = {
#ifdef KRB5
/* not supported */
#endif
Curl_sec_login(struct connectdata *conn)
{
int ret;
- const struct Curl_sec_client_mech **m;
+ const struct Curl_sec_client_mech * const *m;
ssize_t nread;
struct SessionHandle *data=conn->data;
int ftpcode;