diff options
author | Fedor Indutny <fedor@indutny.com> | 2016-05-27 12:16:05 -0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2016-05-27 12:16:05 -0400 |
commit | d7de504f56f35ad7b14434cbd972687c7a3d88f1 (patch) | |
tree | ab952daef0c7e9f2728792c806fd6c42b8f341ed /src/uv_link_observer_t.c | |
parent | 28facffd6105b2da1699922bf2cbc545aa1cceae (diff) | |
download | uv_link_t-d7de504f56f35ad7b14434cbd972687c7a3d88f1.tar.gz |
api: simplify
Diffstat (limited to 'src/uv_link_observer_t.c')
-rw-r--r-- | src/uv_link_observer_t.c | 6 |
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); } |