-
Committer:
Amos Jeffries
-
Date:
2015-02-06 21:23:19 UTC
-
Revision ID:
squid3@treenet.co.nz-20150206212319-yvb5ujosl4l04m92
Fix for Coverity Scan false positives in SBuf
Coverity scanner gets badly confused with SBuf::npos being used as
default parameter value, even though its used to indicate that
strlen() needs to be used on the string.
This is an experiment to see if it gets less confused by having
explicit overloads for the two cases and not using SBuf::npos value
in relation to the unknown length c-strings.