diff options
author | Fedor Indutny <fedor@indutny.com> | 2016-06-02 20:53:19 -0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2016-06-02 20:53:19 -0400 |
commit | 68ac3682f6f3979ef109f53388d24a108d23508e (patch) | |
tree | b376c657657deda00fd4ed1097c4836a7da5d023 | |
parent | 29721feb45e5bc66d9198d37e1d4723974d85a13 (diff) | |
download | uv_link_t-68ac3682f6f3979ef109f53388d24a108d23508e.tar.gz |
observer: fix 0-initialization
-rw-r--r-- | src/uv_link_observer_t.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uv_link_observer_t.c b/src/uv_link_observer_t.c index 0111440..7addd62 100644 --- a/src/uv_link_observer_t.c +++ b/src/uv_link_observer_t.c @@ -34,7 +34,7 @@ static uv_link_methods_t uv_link_observer_methods = { int uv_link_observer_init(uv_link_observer_t* observer) { int err; - observer->read_cb = NULL; + observer->observer_read_cb = NULL; err = uv_link_init((uv_link_t*) observer, &uv_link_observer_methods); if (err != 0) |