mirror of https://github.com/getdnsapi/getdns.git
get_api_information():version_string also for RCs
This commit is contained in:
parent
46ea366f5f
commit
84ad5850c9
|
@ -2,6 +2,7 @@
|
|||
* Fix clearing upstream events on shutdown
|
||||
* Fix dnssec validation of direct CNAME queries.
|
||||
Thanks Simson L. Garfinkel.
|
||||
* Fix get_api_information():version_string also for release candidates
|
||||
|
||||
* 2015-09-04: Version 0.3.2
|
||||
* Fix returned upstreams list by getdns_context_get_api_information()
|
||||
|
|
|
@ -2495,7 +2495,7 @@ getdns_context_get_api_information(getdns_context* context) {
|
|||
if (!result) {
|
||||
return NULL;
|
||||
}
|
||||
r = getdns_dict_util_set_string(result, "version_string", PACKAGE_VERSION);
|
||||
r = getdns_dict_util_set_string(result, "version_string", GETDNS_VERSION);
|
||||
r |= getdns_dict_util_set_string(result, "implementation_string", PACKAGE_URL);
|
||||
r |= getdns_dict_set_int(result, "resolution_type", context->resolution_type);
|
||||
settings = _get_context_settings(context);
|
||||
|
|
Loading…
Reference in New Issue