mirror of
https://github.com/curl/curl.git
synced 2026-07-28 15:13:06 +03:00
Make some arrays of pointers const, too.
This commit is contained in:
parent
1ba47e7af9
commit
a28b32aa45
2 changed files with 5 additions and 6 deletions
|
|
@ -85,7 +85,7 @@ name_to_level(const char *name)
|
|||
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
|
||||
|
|
@ -400,7 +400,7 @@ int
|
|||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue