bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] up to date inetutils


From: Alfred M\. Szmidt
Subject: Re: [bug-inetutils] up to date inetutils
Date: Fri, 29 Jul 2005 18:34:41 +0200

   Thanks - I've got it built now, but the -i option doesn't work at
   all.

The following should fix this.  Thanks for finding the bug.

2005-07-29  Alfred M. Szmidt  <address@hidden>

        * ping.c (main): Store the interval in the variable INTERVAL when
        parsing arguments.

--- ping.c      20 Jun 2005 10:00:54 +0200      1.22
+++ ping.c      29 Jul 2005 18:33:05 +0200      
@@ -159,6 +159,7 @@ main (int argc, char **argv)
          
        case 'i':
          options |= OPT_INTERVAL;
+         interval = atoi (optarg);
          if (interval <= 0)
            error (1, 0, "invalid interval: %i", interval);
          break;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]