浏览代码

Propagate return status code from last child to fail.

tags/v0.9.3
Michael Brown 19 年前
父节点
当前提交
1411876e26
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/core/resolv.c

+ 1
- 1
src/core/resolv.c 查看文件

113
 
113
 
114
 	/* If we have no children left, return failure */
114
 	/* If we have no children left, return failure */
115
 	if ( --(resolution->pending) == 0 )
115
 	if ( --(resolution->pending) == 0 )
116
-		async_done ( async, -ENXIO );
116
+		async_done ( async, rc );
117
 }
117
 }
118
 
118
 
119
 /**
119
 /**

正在加载...
取消
保存