From e34a7c982d3f84438c4302f52ee9abf9dd73e5f3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Marchal?= Date: Mon, 15 Feb 2010 13:44:26 +0000 Subject: [PATCH] Fix wrong detection of smartfilter --- report.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/report.c b/report.c index 35e9f00..782e821 100644 --- a/report.c +++ b/report.c @@ -160,12 +160,12 @@ void gerarel(void) exit(1); } if(strncmp(acccode,"TCP_DENIED/407",14) == 0) continue; - if (getword_atoll(&accelap,&gwarea,'\t')<0 || getword_skip(20000,&gwarea,'\t')<0) { - printf("SARG: Maybe you have a broken elapsed time in your %s file (%d).\n",tmp3,__LINE__); + if (getword_atoll(&accelap,&gwarea,'\t')<0) { + debuga(_("Maybe you have a broken elapsed time in your %s file (%d)"),tmp3,__LINE__); exit(1); } - if (getword(accsmart,sizeof(accsmart),&gwarea,'"')<0) { - printf("SARG: Maybe you have a broken smart info in your %s file (%d).\n",tmp3,__LINE__); + if (getword_skip(20000,&gwarea,'"')<0 || getword(accsmart,sizeof(accsmart),&gwarea,'"')<0) { + debuga(_("Maybe you have a broken smart info in your %s file (%d)"),tmp3,__LINE__); exit(1); } -- 2.47.2