Browse Source

Propagate return status code from last child to fail.

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
1411876e26
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/core/resolv.c

+ 1
- 1
src/core/resolv.c View File

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
 /**

Loading…
Cancel
Save