Commit d4940847 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Cleaned up su_test.c output.

parent 915864e9
...@@ -502,13 +502,13 @@ int main(int argc, char *argv[]) ...@@ -502,13 +502,13 @@ int main(int argc, char *argv[])
su_timer_destroy(t); su_timer_destroy(t);
if (pinger.rtt_n) { if (pinger.rtt_n) {
printf("%s: %u pings, mean rtt=%g sec\n", name, printf("%s executed %u pings in %g, mean rtt=%g sec\n", name,
pinger.rtt_n, pinger.rtt_total / pinger.rtt_n); pinger.rtt_n, pinger.rtt_total, pinger.rtt_total / pinger.rtt_n);
} }
su_root_destroy(root); su_root_destroy(root);
if (opt_verbatim) if (opt_verbatim)
printf("%s: exiting\n", argv0); printf("%s exiting\n", argv0);
#ifndef HAVE_WIN32 #ifndef HAVE_WIN32
if (sleeppid) if (sleeppid)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment