From 654c820200ad22d5d685286cefb9799c0e9316c1 Mon Sep 17 00:00:00 2001 From: Stephane Bortzmeyer Date: Wed, 23 Oct 2002 13:40:39 +0000 Subject: [PATCH] Small cleaning, not important --- SRC/TODO | 4 ++++ SRC/configure | 2 +- SRC/echoping.c | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/SRC/TODO b/SRC/TODO index 87a5f72..3f941ff 100644 --- a/SRC/TODO +++ b/SRC/TODO @@ -68,3 +68,7 @@ $Id$ + + + + diff --git a/SRC/configure b/SRC/configure index 5e6f938..10bf2b4 100755 --- a/SRC/configure +++ b/SRC/configure @@ -732,7 +732,7 @@ fi PACKAGE=echoping -VERSION=5.0.0 +VERSION=5.0.1-BETA if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } diff --git a/SRC/echoping.c b/SRC/echoping.c index 2f7c4db..8c2f01e 100644 --- a/SRC/echoping.c +++ b/SRC/echoping.c @@ -32,7 +32,9 @@ struct timeval conntv, connectedtv, sendtv, recvtv; unsigned int successes, attempts = 0; unsigned int size = DEFLINE; unsigned int j = 0; + int family = PF_UNSPEC; + struct result results[MAXNUMBER]; struct timeval good_results[MAXNUMBER]; extern int tvcmp (); @@ -136,7 +138,6 @@ main (argc, argv) max = null_timeval; min = max_timeval; stddev = null_timeval; - strcpy (port_name, ECHO_TCP_PORT); for (i = 0; i <= MAXNUMBER; i++)