瀏覽代碼

fix bad copy-paste in previous commit

ambrop7 13 年之前
父節點
當前提交
20607b8e3a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ncd/modules/multidepend.c

+ 1 - 1
ncd/modules/multidepend.c

@@ -227,7 +227,7 @@ static void provide_func_die (void *vo)
     
     // start collapsing our depends
     for (LinkedList1Node *n = LinkedList1_GetFirst(&o->depends); n; n = LinkedList1Node_Next(n)) {
-        struct depend *d = UPPER_OBJECT(n, struct depend, depends_node);
+        struct depend *d = UPPER_OBJECT(n, struct depend, provide_node);
         ASSERT(d->provide == o)
         
         // update depend to make sure it is collapsing