diff options
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; |