Typo, the test for a configuration string is (cval.len != 0).