Merge "Clear the resolver timeout when setting default __res_params"

This commit is contained in:
Bernie Innocenti 2018-08-10 02:15:20 +00:00 committed by Gerrit Code Review
commit 817f578bf4

View file

@ -1995,6 +1995,7 @@ _resolv_set_default_params(struct __res_params* params) {
params->success_threshold = SUCCESS_THRESHOLD;
params->min_samples = 0;
params->max_samples = 0;
params->base_timeout_msec = 0; // 0 = legacy algorithm
}
int