Parcourir la source

Propagate return status code from last child to fail.

tags/v0.9.3
Michael Brown il y a 18 ans
Parent
révision
1411876e26
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/core/resolv.c

+ 1
- 1
src/core/resolv.c Voir le fichier

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

Chargement…
Annuler
Enregistrer