char accdia[11], acchora[9], accip[MAXLEN], *accurl;
char oldaccdia[11], oldacchora[9], oldaccip[MAXLEN];
char *oldurl;
- char olduser[MAXLEN], acccode[50], oldacccode[50];
+ char acccode[50], oldacccode[50];
char ipantes[MAXLEN], nameantes[MAXLEN];
char accsmart[MAXLEN];
char crc2[50];
ipantes[0]='\0';
nameantes[0]='\0';
- olduser[0]='\0';
oldurl=NULL;
ourl_size=0;
char warea[MAXLEN];
char tmp6[MAXLEN];
char *user_url;
- long long int tnacc=0, ttnacc=0, unacc=0;
+ long long int tnacc=0, ttnacc=0;
double perc=0, perc2=0, ouperc=0, inperc=0;
int count;
int cstatus;
}
strcpy(olduserip,user_ip);
- unacc=0;
unbytes=0;
unelap=0;
}
}
}
- unacc=0;
unbytes=0;
unelap=0;
}
char mes[30];
char ano[30];
char hora[30];
- char wtemp[MAXLEN];
char date[255];
char arq[255];
char arq_log[255];
char csort[MAXLEN];
int cstatus;
char tbuf2[128];
- char zip[20];
char *str;
char tmp3[MAXLEN];
char denied_unsort[MAXLEN];
hora[0]='\0';
tmp[0]='\0';
tmp3[0]='\0';
- wtemp[0]='\0';
us[0]='\0';
date[0]='\0';
df[0]='\0';
splitprefix[0]='\0';
elap[0]='\0';
email[0]='\0';
- zip[0]='\0';
UserInvalidChar[0]='\0';
DataFile[0]='\0';
SquidGuardConf[0]='\0';
char olduser[MAX_USER_LEN], csort[MAXLEN];
char wger[MAXLEN], top1[MAXLEN], top2[MAXLEN], top3[MAXLEN];
char user[MAX_USER_LEN], tusr[MAXLEN];
- char ipantes[MAXLEN], nameantes[MAXLEN];
const char *sfield="-n -k 2,2";
const char *order;
const char *sort_field;
struct generalitemstruct item;
struct userinfostruct *uinfo;
- ipantes[0]='\0';
- nameantes[0]='\0';
-
ntopuser = 0;
snprintf(wger,sizeof(wger),"%s/sarg-general",outdirname);
if((fp_in=fopen(wger,"r"))==NULL) {