diff options
author | Yang Tse <yangsita@gmail.com> | 2009-11-18 10:33:54 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-11-18 10:33:54 +0000 |
commit | 59939313f8452a9d817c178425c2ba3b91798ea9 (patch) | |
tree | 2f394dd93b80a64e70c29062ac7adca1fa9e024a /lib/tftp.c | |
parent | 961c504ca57b87fa530072f00f7643da77ca4386 (diff) |
Make usage of calloc()'s arguments consistent with rest of code base
Diffstat (limited to 'lib/tftp.c')
-rw-r--r-- | lib/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tftp.c b/lib/tftp.c index fe55e9dfc..9b8595732 100644 --- a/lib/tftp.c +++ b/lib/tftp.c @@ -838,7 +838,7 @@ static CURLcode tftp_connect(struct connectdata *conn, bool *done) sessionhandle, deal with it */ Curl_reset_reqproto(conn); - state = conn->proto.tftpc = calloc(sizeof(tftp_state_data_t), 1); + state = conn->proto.tftpc = calloc(1, sizeof(tftp_state_data_t)); if(!state) return CURLE_OUT_OF_MEMORY; |