aboutsummaryrefslogtreecommitdiff
path: root/lib/http_digest.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-06 04:28:43 +0000
committerYang Tse <yangsita@gmail.com>2008-09-06 04:28:43 +0000
commit861b647e7b1da564b831a5b07312a30feb7b6c58 (patch)
tree0bf8f137e7db222deefccc94fe3a22eecadba7d8 /lib/http_digest.c
parent70e57dad8856c2b99d947344661ae260c6fff594 (diff)
remove unnecessary typecasting of realloc()
Diffstat (limited to 'lib/http_digest.c')
-rw-r--r--lib/http_digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_digest.c b/lib/http_digest.c
index ddeb93747..a3c2ad7d7 100644
--- a/lib/http_digest.c
+++ b/lib/http_digest.c
@@ -460,7 +460,7 @@ CURLcode Curl_output_digest(struct connectdata *conn,
}
/* append CRLF to the userpwd header */
- tmp = (char*) realloc(*allocuserpwd, strlen(*allocuserpwd) + 3 + 1);
+ tmp = realloc(*allocuserpwd, strlen(*allocuserpwd) + 3 + 1);
if(!tmp)
return CURLE_OUT_OF_MEMORY;
strcat(tmp, "\r\n");