Make usage of calloc()'s arguments consistent with rest of code base

This commit is contained in:
Yang Tse
2009-11-18 10:33:54 +00:00
parent 961c504ca5
commit 59939313f8
19 changed files with 25 additions and 25 deletions

View File

@@ -2383,7 +2383,7 @@ static CURLcode ssh_init(struct connectdata *conn)
if(data->state.proto.ssh)
return CURLE_OK;
ssh = calloc(sizeof(struct SSHPROTO), 1);
ssh = calloc(1, sizeof(struct SSHPROTO));
if(!ssh)
return CURLE_OUT_OF_MEMORY;