Skip to content

Commit f08daae

Browse files
mikhailvallinurl
authored andcommitted
Fixed bug with incorrectly checked 4xx status codes when --4xx-to-unique-count flag is specified.
The bug was introduced in commit 6d2cb7e.
1 parent 7319c07 commit f08daae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gstorage.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@ static int
13881388
include_uniq (GLogItem *logitem) {
13891389
int u = conf.client_err_to_unique_count;
13901390

1391-
if (!logitem->status || (logitem->status / 100) != 4 || (u && (logitem->status / 100) == '4'))
1391+
if (!logitem->status || (logitem->status / 100) != 4 || (u && (logitem->status / 100) == 4))
13921392
return 1;
13931393
return 0;
13941394
}

0 commit comments

Comments
 (0)