Selaa lähdekoodia

Propagate return status code from last child to fail.

tags/v0.9.3
Michael Brown 18 vuotta sitten
vanhempi
commit
1411876e26
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      src/core/resolv.c

+ 1
- 1
src/core/resolv.c Näytä tiedosto

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…
Peruuta
Tallenna