Merge branch 'develop' of github.com:getdnsapi/getdns into develop

This commit is contained in:
Willem Toorop 2017-07-06 12:13:30 +02:00
commit d402603f4a
1 changed files with 4 additions and 11 deletions

View File

@ -380,10 +380,8 @@ void callback(getdns_context *context, getdns_callback_type_t callback_type,
getdns_print_json_dict(response, json == 1)
: getdns_pretty_print_dict(response))) {
if (verbosity)
fprintf(stdout, "ASYNC response:\n%s\n", response_str);
else
fprintf(stdout, "%s\n", response_str);
if (verbosity) fprintf(stdout, "ASYNC call completed.\n");
validate_chain(response);
free(response_str);
}
@ -1196,13 +1194,8 @@ getdns_return_t do_the_call(void)
getdns_print_json_dict(response, json == 1)
: getdns_pretty_print_dict(response))) {
if (verbosity)
fprintf( stdout, "SYNC response:\n%s\n"
, response_str);
else
fprintf( stdout, "%s\n"
, response_str);
fprintf( stdout, "%s\n", response_str);
if (verbosity) fprintf( stdout, "SYNC call completed.\n");
validate_chain(response);
free(response_str);
} else {