diff options
Diffstat (limited to 'docs/examples/ephiperfifo.c')
-rw-r--r-- | docs/examples/ephiperfifo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/ephiperfifo.c b/docs/examples/ephiperfifo.c index 66d633c93..97e1fb5f0 100644 --- a/docs/examples/ephiperfifo.c +++ b/docs/examples/ephiperfifo.c @@ -292,7 +292,7 @@ static void setsock(SockInfo *f, curl_socket_t s, CURL *e, int act, /* Initialize a new SockInfo structure */ static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) { - SockInfo *fdp = (SockInfo*)calloc(sizeof(SockInfo), 1); + SockInfo *fdp = (SockInfo*)calloc(1, sizeof(SockInfo)); fdp->global = g; setsock(fdp, s, easy, action, g); |