logswan

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

commit 31fb8411f3a50a2fc4a48ed5f9978f78d21bad0d
parent f121fb90d42f258ef126f4d92aa48c64ba16aee5
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Mon, 22 Jun 2015 20:34:29 +0200

Small syntax change : switch to ++ increment operator

Diffstat:
Msrc/logswan.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/logswan.c b/src/logswan.c @@ -122,7 +122,7 @@ int main (int argc, char *argv[]) { hour = atoi(parsedDate.hour); if (hour < 24) { - hours[hour] += 1; + hours[hour] ++; } } @@ -131,7 +131,7 @@ int main (int argc, char *argv[]) { statusCode = strtol(parsedLine.statusCode, &endptr, 10); if (statusCode < 512) { - httpStatus[statusCode] += 1; + httpStatus[statusCode] ++; } }