]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
ansi
authorwessels <>
Wed, 25 Sep 1996 02:37:32 +0000 (02:37 +0000)
committerwessels <>
Wed, 25 Sep 1996 02:37:32 +0000 (02:37 +0000)
src/pinger.cc

index 1bffd02843a81c1311771cc545b835d03b08e85a..c2fb5a4030fe765b4805ef88f82810e7f19cf49f 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: pinger.cc,v 1.4 1996/09/24 20:17:31 wessels Exp $
+ * $Id: pinger.cc,v 1.5 1996/09/24 20:37:32 wessels Exp $
  *
  * DEBUG: section 37    ICMP Routines
  * AUTHOR: Duane Wessels
@@ -34,7 +34,7 @@
 
 /* Junk so we can link with debug.o */
 int opt_syslog_enable = 0;
-int unbuffered_logs = 1;
+volatile int unbuffered_logs = 1;
 char w_space[] = " \t\n\r";
 char appname[] = "pinger";
 struct timeval current_time;
@@ -81,9 +81,9 @@ typedef struct {
     char payload[MAX_PAYLOAD];
 } icmpEchoData;
 
-static int icmp_sock = -1;
-static int icmp_ident = -1;
-static int icmp_pkts_sent = 0;
+int icmp_sock = -1;
+int icmp_ident = -1;
+int icmp_pkts_sent = 0;
 
 static char *icmpPktStr[] =
 {