about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2016-06-02 20:53:19 -0400
committerFedor Indutny <fedor@indutny.com>2016-06-02 20:53:19 -0400
commit68ac3682f6f3979ef109f53388d24a108d23508e (patch)
treeb376c657657deda00fd4ed1097c4836a7da5d023
parent29721feb45e5bc66d9198d37e1d4723974d85a13 (diff)
downloaduv_link_t-68ac3682f6f3979ef109f53388d24a108d23508e.tar.gz
observer: fix 0-initialization
-rw-r--r--src/uv_link_observer_t.c2
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)