summaryrefslogtreecommitdiffstats
path: root/syslog.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-05-25 06:26:36 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-05-25 06:26:36 -0700
commit27f5d98142eeb3bb75430521f4d484cbffad3254 (patch)
tree68264d67b0bbccfd459fcd4efae3779eb02d3728 /syslog.c
parent29ef365cd0c0931b5b34a5258b036e8d5a966357 (diff)
downloadtxr-27f5d98142eeb3bb75430521f4d484cbffad3254.tar.gz
txr-27f5d98142eeb3bb75430521f4d484cbffad3254.tar.bz2
txr-27f5d98142eeb3bb75430521f4d484cbffad3254.zip
rsearch: fix broken.
The rsearch function is completely broken, returning incorrect values. * lib.c (search_list, rsearch_list): Update the position in the increment part of the loop. This fix only affects research, but the code is copy-and-paste, so it's good to keep them the same, and the position of the pos update is a code smell regardless.
Diffstat (limited to 'syslog.c')
0 files changed, 0 insertions, 0 deletions