aboutsummaryrefslogtreecommitdiff
path: root/lib/telnet.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-06 04:47:14 +0000
committerYang Tse <yangsita@gmail.com>2008-09-06 04:47:14 +0000
commita622fd90b4c563a4fced20c5b88cb57537e809b0 (patch)
treeb0b3c28505d41d062f7828c0d1e13e3aa9a351a8 /lib/telnet.c
parent861b647e7b1da564b831a5b07312a30feb7b6c58 (diff)
remove unnecessary typecasting of calloc()
Diffstat (limited to 'lib/telnet.c')
-rw-r--r--lib/telnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/telnet.c b/lib/telnet.c
index c44658914..63eef5f29 100644
--- a/lib/telnet.c
+++ b/lib/telnet.c
@@ -241,7 +241,7 @@ CURLcode init_telnet(struct connectdata *conn)
{
struct TELNET *tn;
- tn = (struct TELNET *)calloc(1, sizeof(struct TELNET));
+ tn = calloc(1, sizeof(struct TELNET));
if(!tn)
return CURLE_OUT_OF_MEMORY;