]> git.ipfire.org Git - thirdparty/collectd.git/commit
preserve const-ness when calling strrchr() main
authorHector Cao <hector.cao@canonical.com>
Thu, 28 May 2026 07:13:51 +0000 (09:13 +0200)
committerMatthias Runge <mrunge@matthias-runge.de>
Fri, 29 May 2026 12:58:42 +0000 (14:58 +0200)
commit10d88917af2fd8083ab57faca55004b19608147f
treeaffe27541ee7333c03e600bcdfe00fa25bd2ed4d
parent107b975dfa49d814e5ef3434249efff20f1cebd5
preserve const-ness when calling strrchr()

strrchr() preserves the const-ness of the argument, the argument is a const char*
so the return value should also be a const.
src/dpdkstat.c