about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2016-05-27 12:18:38 -0400
committerFedor Indutny <fedor@indutny.com>2016-05-27 12:18:38 -0400
commit6274a92d51ad9d4ffcf697744de0f052200595b5 (patch)
tree377f4b1bb63591630c03c1f8972188bfb02cfd3c
parentd7de504f56f35ad7b14434cbd972687c7a3d88f1 (diff)
downloaduv_link_t-6274a92d51ad9d4ffcf697744de0f052200595b5.tar.gz
readme: use uv_link_propagate_shutdown
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 634281d..2003bff 100644
--- a/README.md
+++ b/README.md
@@ -69,7 +69,7 @@ static int shutdown_impl(uv_link_t* link,
                          uv_link_shutdown_cb cb,
                          void* arg) {
   fprintf(stderr, "this will be printed\n");
-  return uv_link_shutdown(link->parent, cb, arg);
+  return uv_link_propagate_shutdown(link->parent, source, cb, arg);
 }
 ```