aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/clog/files/patch-clog.c
blob: dc6b5fa58a20a3eb670a1f1d1bba4b5ba2552012 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- clog.c.orig Thu Aug  7 21:56:32 1997
+++ clog.c  Sun Mar 24 02:33:49 2002
@@ -63,5 +63,5 @@
 /* some global variables (ugh!) */
 pcap_t *ip_socket;
-FILE *logfile = stdout;
+FILE *logfile;
 int resolve = 0;
 int dlt_len = 4;
@@ -92,4 +92,5 @@
    int c;
    
+   logfile = stdout;
    opterr = 0;
    /* parse arguments */