about summary refs log tree commit diff stats
path: root/src/uv_link_observer_t.c
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2016-05-27 12:16:05 -0400
committerFedor Indutny <fedor@indutny.com>2016-05-27 12:16:05 -0400
commitd7de504f56f35ad7b14434cbd972687c7a3d88f1 (patch)
treeab952daef0c7e9f2728792c806fd6c42b8f341ed /src/uv_link_observer_t.c
parent28facffd6105b2da1699922bf2cbc545aa1cceae (diff)
downloaduv_link_t-d7de504f56f35ad7b14434cbd972687c7a3d88f1.tar.gz
api: simplify
Diffstat (limited to 'src/uv_link_observer_t.c')
-rw-r--r--src/uv_link_observer_t.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uv_link_observer_t.c b/src/uv_link_observer_t.c
index 4e50010..e4deabb 100644
--- a/src/uv_link_observer_t.c
+++ b/src/uv_link_observer_t.c
@@ -33,8 +33,8 @@ static int uv_link_observer_write(uv_link_t* link,
 
   observer = container_of(link, uv_link_observer_t, link);
 
-  return uv_link_write(observer->target, source, bufs, nbufs, send_handle, cb,
-                       arg);
+  return uv_link_propagate_write(observer->target, source, bufs, nbufs,
+                                 send_handle, cb, arg);
 }
 
 
@@ -57,7 +57,7 @@ static int uv_link_observer_shutdown(uv_link_t* link,
 
   observer = container_of(link, uv_link_observer_t, link);
 
-  return uv_link_shutdown(observer->target, source, cb, arg);
+  return uv_link_propagate_shutdown(observer->target, source, cb, arg);
 }