summaryrefslogtreecommitdiff
path: root/docs/examples/multi-uv.c
diff options
context:
space:
mode:
authorNils Gillmann <ng0@n0.is>2018-08-05 10:00:26 +0000
committerNils Gillmann <ng0@n0.is>2018-08-05 10:00:26 +0000
commite811856677be94017c4d2bb333830a7f743649a6 (patch)
tree1483daf2649cd4da1db8b10218c5756965839512 /docs/examples/multi-uv.c
parentcb5937f5c0669fee3f8c3d4e1f9d640f592d91fa (diff)
parenteb8138405a3f747f2c236464932f72e918946f68 (diff)
downloadgnurl-e811856677be94017c4d2bb333830a7f743649a6.tar.gz
gnurl-e811856677be94017c4d2bb333830a7f743649a6.tar.bz2
gnurl-e811856677be94017c4d2bb333830a7f743649a6.zip
Merge tag 'curl-7_61_0'
curl 7.61.0 Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat (limited to 'docs/examples/multi-uv.c')
-rw-r--r--docs/examples/multi-uv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/multi-uv.c b/docs/examples/multi-uv.c
index d40446836..e532e1231 100644
--- a/docs/examples/multi-uv.c
+++ b/docs/examples/multi-uv.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -50,7 +50,7 @@ static curl_context_t* create_curl_context(curl_socket_t sockfd)
{
curl_context_t *context;
- context = (curl_context_t *) malloc(sizeof *context);
+ context = (curl_context_t *) malloc(sizeof(*context));
context->sockfd = sockfd;