We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59ebaf4 commit 69e829bCopy full SHA for 69e829b
1 file changed
src/reputation.c
@@ -373,8 +373,6 @@ int SRepLoadCatFileFromFD(FILE *fp)
373
if (line[0] == '\n' || line [0] == '\r' || line[0] == ' ' || line[0] == '#' || line[0] == '\t')
374
continue;
375
376
- while (isspace((unsigned char)line[--len]));
377
-
378
/* Check if we have a trailing newline, and remove it */
379
len = strlen(line);
380
if (len == 0)
@@ -433,8 +431,6 @@ int SRepLoadFileFromFD(SRepCIDRTree *cidr_ctx, FILE *fp)
433
431
434
432
435
436
437
438
439
440
0 commit comments