*number=(*number * 10) + digit;
}
if(gwarea->current[x] && gwarea->current[x]!=stop) {
- printf("SARG: getword_atol loop detected after %ld bytes.\n",x);
- printf("SARG: Line=\"%s\"\n",gwarea->beginning);
- printf("SARG: Record=\"%s\"\n",gwarea->current);
- printf("SARG: searching for \'x%x\'\n",stop);
- //printf("SARG: Maybe you have a broken record or garbage in your access.log file.\n");
+ debuga(_("getword_atol loop detected after %ld bytes.\n"),x);
+ debuga(_("Line=\"%s\"\n"),gwarea->beginning);
+ debuga(_("Record=\"%s\"\n"),gwarea->current);
+ debuga(_("searching for \'x%x\'\n"),stop);
+ //debuga(_("Maybe you have a broken record or garbage in your access.log file.\n"));
#if USE_GETWORD_BACKTRACE
getword_backtrace();
#endif
int digit;
if (gwarea->current[0] == '-') {
- printf("SARG: getword_atolu got a negative number.\n");
- printf("SARG: Line=\"%s\"\n",gwarea->beginning);
- printf("SARG: Record=\"%s\"\n",gwarea->current);
+ debuga(_("getword_atolu got a negative number.\n"));
+ debuga(_("Line=\"%s\"\n"),gwarea->beginning);
+ debuga(_("Record=\"%s\"\n"),gwarea->current);
return(-1);
}
if (gwarea->current[0] == '+') {
*number=(*number * 10) + digit;
}
if(gwarea->current[x] && gwarea->current[x]!=stop) {
- printf("SARG: getword_atolu loop detected after %ld bytes.\n",x);
- printf("SARG: Line=\"%s\"\n",gwarea->beginning);
- printf("SARG: Record=\"%s\"\n",gwarea->current);
- printf("SARG: searching for \'x%x\'\n",stop);
- //printf("SARG: Maybe you have a broken record or garbage in your access.log file.\n");
+ debuga(_("getword_atolu loop detected after %ld bytes.\n"),x);
+ debuga(_("Line=\"%s\"\n"),gwarea->beginning);
+ debuga(_("Record=\"%s\"\n"),gwarea->current);
+ debuga(_("searching for \'x%x\'\n"),stop);
+ //debuga(_("Maybe you have a broken record or garbage in your access.log file.\n"));
#if USE_GETWORD_BACKTRACE
getword_backtrace();
#endif