cnping

Minimal Graphical Ping Tool
git clone https://git.sinitax.com/cnlohr/cnping
Log | Files | Refs | Submodules | README | LICENSE | sfeed.txt

commit e480bd1c395381514dd00c8a1ecca857872f4903
parent 1467b9fd2b0d9183288684d5cd5c0109f22b8328
Author: cnlohr <lohr85@gmail.com>
Date:   Wed, 13 Apr 2016 01:49:56 -0400

Fix code for searchnet.

Diffstat:
Mping.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ping.c b/ping.c @@ -156,7 +156,6 @@ void ping(struct sockaddr_in *addr ) int i, cnt=1; struct packet pckt; struct sockaddr_in r_addr; - #ifdef WIN32 { //this /was/ recommended. @@ -207,7 +206,7 @@ void ping(struct sockaddr_in *addr ) } } } while( pingperiod >= 0 ); - close( sd ); + //close( sd ); //Hacky, we don't close here because SD doesn't come from here, rather from ping_setup. We may want to run this multiple times. } void ping_setup()