1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
--- datafile.c 2005-12-07 07:22:36.000000000 -0200
+++ new/datafile.c 2005-12-07 07:32:00.000000000 -0200
@@ -115,7 +115,7 @@
strcpy(wdirname,dirname);
gravatmp(oldaccuser,wdirname,oldurl,nacc,nbytes,oldmsg,nelap,indexonly,incache,oucache);
strcpy(wdirname,dirname);
- saverecs2(wdirname,oldaccuser,nacc,oldurl,nbytes,oldaccip,oldacchora,oldaccdia,nelap,incache,oucache);
+ saverecs(wdirname,oldaccuser,nacc,oldurl,nbytes,oldaccip,oldacchora,oldaccdia,nelap,incache,oucache);
nacc=0;
nbytes=0;
nelap=0;
@@ -156,7 +156,7 @@
return;
}
-void saverecs2(char *dirname, char *user, long long int nacc, char *url, long long int nbytes, char *ip, char *hora, char *dia, long long int nelap, long long int incache, long long int oucache)
+void saverecs(char *dirname, char *user, long long int nacc, char *url, long long int nbytes, char *ip, char *hora, char *dia, long long int nelap, long long int incache, long long int oucache)
{
FILE *fp_ou;
--- realtime.c 2005-11-29 14:39:45.000000000 -0200
+++ new/realtime.c 2005-12-07 07:31:15.000000000 -0200
@@ -27,6 +27,8 @@
void getdata(char *, FILE *);
void datashow(char *);
+void getlog();
+void header();
char dat[128];
char tim[128];
|