Преглед изворни кода

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

Loading…
Откажи
Сачувај