[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] Re: ping: memory leaks
From: |
Alfred M. Szmidt |
Subject: |
Re: [bug-inetutils] Re: ping: memory leaks |
Date: |
Sun, 22 Jul 2007 13:20:31 +0200 (CEST) |
@@ -528,5 +532,5 @@ echo_finish ()
printf ("round-trip min/avg/max/stddev = %.3f/%.3f/%.3f/%.3f ms\n",
ping_stat->tmin, avg, ping_stat->tmax, nsqrt (vari, 0.0005));
}
- exit (ping->ping_num_recv == 0);
+ return (ping->ping_num_recv == 0);
}
Are you sure that this is safe?