[Top][All Lists]
[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 20:23:41 +0200 |
It fixes it for -i >=1 but -i <1 still gives invalid interval.
--- ping.c 20 Jun 2005 10:00:54 +0200 1.22
+++ ping.c 29 Jul 2005 20:23:16 +0200
@@ -159,7 +159,8 @@ main (int argc, char **argv)
case 'i':
options |= OPT_INTERVAL;
- if (interval <= 0)
+ interval = atoi (optarg);
+ if (interval < 0)
error (1, 0, "invalid interval: %i", interval);
break;
- Re: [bug-inetutils] up to date inetutils, (continued)
- Re: [bug-inetutils] up to date inetutils, Alfred M\. Szmidt, 2005/07/29
- Re: [bug-inetutils] up to date inetutils, Sergey Poznyakoff, 2005/07/29
- Re: [bug-inetutils] up to date inetutils, Alfred M\. Szmidt, 2005/07/29
- Re: [bug-inetutils] up to date inetutils, Alfred M\. Szmidt, 2005/07/29
- Re: [bug-inetutils] up to date inetutils, Sergey Poznyakoff, 2005/07/29
- Re: [bug-inetutils] up to date inetutils, Sergey Poznyakoff, 2005/07/30
- Re: [bug-inetutils] up to date inetutils, Andy Furniss, 2005/07/30
- Re: [bug-inetutils] up to date inetutils, Andy Furniss, 2005/07/29
- Re: [bug-inetutils] up to date inetutils, Alfred M\. Szmidt, 2005/07/29
- Re: [bug-inetutils] up to date inetutils, Andy Furniss, 2005/07/30
- Re: [bug-inetutils] up to date inetutils,
Alfred M\. Szmidt <=
Re: [bug-inetutils] up to date inetutils, Sergey Poznyakoff, 2005/07/29