summary refs log tree commit diff stats
path: root/plugins/sysinfo/sysinfo-backend.h
diff options
context:
space:
mode:
authorJoseph Bisch <joseph.bisch@gmail.com>2017-09-21 20:58:55 -0400
committerTingPing <tingping@tingping.se>2017-09-21 21:34:14 -0400
commit0c494a9c24c431f39b24abb5d90b6221d554a688 (patch)
treed86790be5837e21b18659e4dc44ffde66900c529 /plugins/sysinfo/sysinfo-backend.h
parent053003f490aaf876c01fa0fa8c64674436aee048 (diff)
Fix rfc_ncasecmp handling of n reaching 0
If n becomes 0 at the same time that the end of either s1 or s2 are
reached, the next iteration of the while loop wouldn't happen, so we
wouldn't correctly return 0.
Diffstat (limited to 'plugins/sysinfo/sysinfo-backend.h')
0 files changed, 0 insertions, 0 deletions