mirror of https://github.com/getdnsapi/getdns.git
getdns_context_set_follow_redirects not changed
Error in previous commit. Nothing changed with getdns_context_set_follow_redirects. It is simply not implemented
This commit is contained in:
parent
4740d0baf4
commit
f9195fde4d
|
@ -996,6 +996,10 @@ getdns_context_set_follow_redirects(struct getdns_context *context,
|
||||||
return GETDNS_RETURN_INVALID_PARAMETER;
|
return GETDNS_RETURN_INVALID_PARAMETER;
|
||||||
|
|
||||||
context->follow_redirects = value;
|
context->follow_redirects = value;
|
||||||
|
if (context->resolution_type_set != 0) {
|
||||||
|
/* already setup */
|
||||||
|
return GETDNS_RETURN_CONTEXT_UPDATE_FAIL;
|
||||||
|
}
|
||||||
|
|
||||||
dispatch_updated(context, GETDNS_CONTEXT_CODE_FOLLOW_REDIRECTS);
|
dispatch_updated(context, GETDNS_CONTEXT_CODE_FOLLOW_REDIRECTS);
|
||||||
return GETDNS_RETURN_GOOD;
|
return GETDNS_RETURN_GOOD;
|
||||||
|
|
Loading…
Reference in New Issue