logswan

Fast Web log analyzer using probabilistic data structures
Log | Files | Refs | README | LICENSE

commit 23f551528d6ee7a0280ea60fb6de1c9ee98b29f4
parent f2285ab285f5e9102b2554c28ca28c237902e810
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Fri, 26 Jun 2015 23:07:39 +0200

Modify strtok delimiter to return objectSize without trailing space

Diffstat:
Msrc/parse.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/parse.c b/src/parse.c @@ -45,5 +45,5 @@ void parseLine(struct logLine* parsedLine, char *lineBuffer) { parsedLine->statusCode = strtok(NULL, " "); /* Returned object size */ - parsedLine->objectSize = strtok(NULL, "\""); + parsedLine->objectSize = strtok(NULL, " \""); }