Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 186794 Details for
Bug 263802
net-analyzer/sarg-2.2.5-r1 => getword loop detected
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
util.c.patch
util.c.patch (text/plain), 765 bytes, created by
Peter Volkov (RETIRED)
on 2009-03-30 19:48:09 UTC
(
hide
)
Description:
util.c.patch
Filename:
MIME Type:
Creator:
Peter Volkov (RETIRED)
Created:
2009-03-30 19:48:09 UTC
Size:
765 bytes
patch
obsolete
>=== modified file 'util.c' >--- util.c 2009-03-23 08:49:09 +0000 >+++ util.c 2009-03-30 19:41:05 +0000 >@@ -58,9 +58,9 @@ > void getword(char *word, int limit, char *line, int stop) > { > int x = 0, y = 0; >- //char wline[MAXLEN]; >+ char wline[MAXLEN]; > >- //strcpy(wline,line); >+ strcpy(wline,line); > > if(strlen(line) < 3) { > word[0]='\0'; >@@ -70,7 +70,7 @@ > for(x=0; line[x] && (line[x] != stop ) && x<limit; x++) word[x] = line[x]; > if(x == limit) { > printf("SARG: getword loop detected.\n"); >- //printf("SARG: Record=\"%s\"\n",wline); >+ printf("SARG: Record=\"%s\"\n",wline); > printf("SARG: searching for \'x%x\'\n",stop); > printf("SARG: Maybe you have a broken record or garbage in your access.log file.\n"); > //word[0]='\0'; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 263802
:
186761
|
186763
|
186764
| 186794