Просмотр исходного кода

Propagate return status code from last child to fail.

tags/v0.9.3
Michael Brown 18 лет назад
Родитель
Сommit
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
 /**

Загрузка…
Отмена
Сохранить