diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-09-02 17:41:20 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-09-02 17:41:20 +0000 |
commit | 934708d950617688c7d294ea1ab583667f383ab1 (patch) | |
tree | 5a8c9af0c4ae865717caacf14c20c69ad98ab5d0 /lib/http_digest.c | |
parent | bbc002a50575f7690fe67e23850e63bc8eb792f1 (diff) |
Made some variables const which eliminated some casts
Diffstat (limited to 'lib/http_digest.c')
-rw-r--r-- | lib/http_digest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/http_digest.c b/lib/http_digest.c index 82096c3f7..92d44ada7 100644 --- a/lib/http_digest.c +++ b/lib/http_digest.c @@ -232,8 +232,8 @@ CURLcode Curl_output_digest(struct connectdata *conn, struct timeval now; char **allocuserpwd; - char *userp; - char *passwdp; + const char *userp; + const char *passwdp; struct auth *authp; struct SessionHandle *data = conn->data; @@ -276,10 +276,10 @@ CURLcode Curl_output_digest(struct connectdata *conn, /* not set means empty */ if(!userp) - userp=(char *)""; + userp=""; if(!passwdp) - passwdp=(char *)""; + passwdp=""; if(!d->nonce) { authp->done = FALSE; |