summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0e8b1b2)
raw | patch | inline | side by side (parent: 0e8b1b2)
author | Hamish Coleman <hamish@zot.org> | |
Fri, 17 Feb 2017 05:01:39 +0000 (13:01 +0800) | ||
committer | Hamish Coleman <hamish@zot.org> | |
Fri, 17 Feb 2017 05:01:39 +0000 (13:01 +0800) |
src/oping.c | patch | blob | history |
diff --git a/src/oping.c b/src/oping.c
index 0cfe64672065c0a99dd3a1d2e9ca8bc9bd5763ce..e439dbfc7b3863ffb504664f01500842fe2761b2 100644 (file)
--- a/src/oping.c
+++ b/src/oping.c
} /* }}} int update_graph_boxplot */
static int update_graph_prettyping (ping_context_t *ctx, /* {{{ */
- double latency, unsigned int sequence)
+ double latency)
{
size_t x;
size_t x_max;
@@ -1217,12 +1217,6 @@ static int update_stats_from_context (ping_context_t *ctx, pingobj_iter_t *iter)
ping_iterator_get_info (iter, PING_INFO_LATENCY,
&latency, &buffer_len);
- unsigned int sequence = 0;
- buffer_len = sizeof (sequence);
- ping_iterator_get_info (iter, PING_INFO_SEQUENCE,
- &sequence, &buffer_len);
-
-
if ((ctx == NULL) || (ctx->window == NULL))
return (EINVAL);
@@ -1258,7 +1252,7 @@ static int update_stats_from_context (ping_context_t *ctx, pingobj_iter_t *iter)
}
if (opt_show_graph == 1)
- update_graph_prettyping (ctx, latency, sequence);
+ update_graph_prettyping (ctx, latency);
else if (opt_show_graph == 2)
update_graph_histogram (ctx);
else if (opt_show_graph == 3)