diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-11-19 14:45:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-11-19 14:45:45 +0000 |
commit | 843f8a24f27eb0c724a1aec4d95b3790d95e48c7 (patch) | |
tree | 447c083f0d4eceafca3e377ad1d574ebc1a0061d /src/resperf.c | |
parent | Releasing debian version 2.9.0-1. (diff) | |
download | dnsperf-843f8a24f27eb0c724a1aec4d95b3790d95e48c7.tar.xz dnsperf-843f8a24f27eb0c724a1aec4d95b3790d95e48c7.zip |
Merging upstream version 2.10.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/resperf.c')
-rw-r--r-- | src/resperf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resperf.c b/src/resperf.c index ac41b38..aa58dc0 100644 --- a/src/resperf.c +++ b/src/resperf.c @@ -1,5 +1,5 @@ /* - * Copyright 2019-2021 OARC, Inc. + * Copyright 2019-2022 OARC, Inc. * Copyright 2017-2018 Akamai Technologies * Copyright 2006-2016 Nominum, Inc. * All rights reserved. @@ -401,7 +401,7 @@ static void setup(int argc, char** argv) perf_net_parselocal(server_addr.sa.sa.sa_family, local_name, local_port, &local_addr); - input = perf_datafile_open(filename); + input = perf_datafile_open(filename, input_format_text_query); if (reopen_datafile) { perf_datafile_setmaxruns(input, -1); } @@ -635,7 +635,7 @@ do_one_line(perf_buffer_t* lines, perf_buffer_t* msg) } perf_buffer_clear(lines); - result = perf_datafile_next(input, lines, false); + result = perf_datafile_next(input, lines); if (result != PERF_R_SUCCESS) perf_log_fatal("ran out of query data"); perf_buffer_usedregion(lines, &used); |