diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2004-12-15 02:32:04 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2004-12-15 02:32:04 +0000 |
commit | a28b32aa45e5f4ce9d2bc85a840884336dd87f27 (patch) | |
tree | cfb4f355cbd0cad25ca0bc1d60cf8946b550c446 /lib/security.c | |
parent | 1ba47e7af9edfa682faba73df8bf0dc240facb19 (diff) | |
download | curl-a28b32aa45e5f4ce9d2bc85a840884336dd87f27.tar.gz |
Make some arrays of pointers const, too.
Diffstat (limited to 'lib/security.c')
-rw-r--r-- | lib/security.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/security.c b/lib/security.c index f34729b55..64c55b3ba 100644 --- a/lib/security.c +++ b/lib/security.c @@ -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; |