src/daemon/common.c: Fix off-by-one error in escape_slashes().
authorFlorian Forster <octo@collectd.org>
Sun, 28 Jun 2015 12:05:05 +0000 (14:05 +0200)
committerFlorian Forster <octo@collectd.org>
Sun, 28 Jun 2015 12:05:05 +0000 (14:05 +0200)
commit0cba91923be9326224f8434e4aae7691f7b6dad1
tree19033c32b54b885fe486c866a70551bac06fa9f7
parent3b227016c5e2126d5064c19d29ab79f13a187b39
src/daemon/common.c: Fix off-by-one error in escape_slashes().

This also adds a unit test for this issue.
src/daemon/common.c
src/daemon/common_test.c