get_api_information():version_string also for RCs

This commit is contained in:
Willem Toorop 2015-09-08 11:20:52 +02:00
parent 46ea366f5f
commit 84ad5850c9
2 changed files with 2 additions and 1 deletions

View File

@ -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()

View File

@ -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);